Merge branch 'master' of https://github.com/beefproject/beef
This commit is contained in:
34
INSTALL.txt
34
INSTALL.txt
@@ -41,12 +41,36 @@ Installation
|
|||||||
|
|
||||||
!!! This must be done PRIOR to running the bundle install command !!!
|
!!! This must be done PRIOR to running the bundle install command !!!
|
||||||
|
|
||||||
On linux you will need to find the packages specific to your distribution for sqlite. An example for Ubuntu systems is:
|
On linux you will need to find the packages specific to your distribution for sqlite. An example build script for Ubuntu 14.04 systems is:
|
||||||
|
|
||||||
3.0. sudo apt-get install libsqlite3-dev sqlite3 sqlite3-doc
|
# Set your prefered build dir
|
||||||
3.1. install rvm from rvm.beginrescueend.com, this takes care of the various incompatible and conflicting ruby packages that are required
|
BUILDDIR=/opt && \
|
||||||
3.2. rvm install 2.1.5
|
cd $BUILDDIR && \
|
||||||
3.3. rvm use 2.1.5
|
\
|
||||||
|
# Install dependences
|
||||||
|
sudo apt-get update && \
|
||||||
|
sudo apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
git \
|
||||||
|
libsqlite3-dev \
|
||||||
|
software-properties-common \
|
||||||
|
sqlite3 \
|
||||||
|
sqlite3-doc && \
|
||||||
|
\
|
||||||
|
# Add brightbox ppa for the latest version of ruby
|
||||||
|
sudo apt-add-repository -y \
|
||||||
|
ppa:brightbox/ruby-ng && \
|
||||||
|
\
|
||||||
|
# Install ruby (2.2 in this example)
|
||||||
|
sudo apt-get update && \
|
||||||
|
sudo apt-get install -y \
|
||||||
|
ruby2.2 \
|
||||||
|
ruby2.2-dev && \
|
||||||
|
\
|
||||||
|
# Install bundler using gem
|
||||||
|
sudo gem install bundler
|
||||||
|
|
||||||
|
3.1. It is recommended not to use rvm. If you use rvm the ruby binaries are installed to locations outside of your default path which may cause problems later.
|
||||||
|
|
||||||
4. Prerequisites (Mac OSX)
|
4. Prerequisites (Mac OSX)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user