forked from CIRANDAS/noosfero-ecosol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGEMINSTALL
29 lines (21 loc) · 1.08 KB
/
GEMINSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
See more at http://noosfero.org/Development/InstallSteps and
http://noosfero.org/Development/RVMGemBasedInstallation
1. Install packages dependencies
1.1. System deps
$ sudo apt-get install po4a iso-codes tango-icon-theme curl
1.2. Compilation deps
$ sudo apt-get install libmagick9-dev libpq-dev libreadline-dev libsqlite3-dev libxslt1-dev
2. Install RVM (command from http://beginrescueend.com/rvm/install/)
$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
3. Open a new terminal (so that RVM path is loaded) and compile ruby
$ rvm install 1.8.7
$ rvm use 1.8.7
$ rvm gemset create noosfero
$ rvm 1.8.7@noosfero
$ gem update --system 1.4.1
If you get command not found on rvm, try opening another terminal (thus reloading the environment).
You might want to change noosfero to something else or create other gemsets. Documentation on gemsets at http://beginrescueend.com/gemsets/basics/
***Running rvm 1.8.7@noosfero is required each time you open a new shell!***
4. Install bundler let bundler do the rest
$ gem install bundler
$ bundle install