Difference between revisions of "Ruby"
Jump to navigation
Jump to search
(→Gems) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
* bash < <(curl -s http://rvm.beginrescueend.com/install/rvm) | * bash < <(curl -s http://rvm.beginrescueend.com/install/rvm) | ||
** Might have to manually download the rvm shell script, edit it to use home dir instead of /usr/local | ** Might have to manually download the rvm shell script, edit it to use home dir instead of /usr/local | ||
− | * rvm install | + | * rvm install 1.9.2 --proxy http://proxy.traderonline.com:80 -C --with-readline-dir=/home/ruby/.rvm/usr,--with-openssl-dir=/home/ruby/.rvm/usr,--with-zlib-dir=/home/ruby/.rvm/usr |
** The zlib stuff is from an error, see [[https://rvm.beginrescueend.com/packages/zlib here]] for more info | ** The zlib stuff is from an error, see [[https://rvm.beginrescueend.com/packages/zlib here]] for more info | ||
+ | |||
==Gems== | ==Gems== | ||
* export GEM_HOME=/home/builder/.rvm/gems/ruby-1.9.2-p180 | * export GEM_HOME=/home/builder/.rvm/gems/ruby-1.9.2-p180 |
Latest revision as of 13:20, 11 May 2011
Installing Ruby with git
Ruby itself
- rvm package install zlib
- bash < <(curl -s http://rvm.beginrescueend.com/install/rvm)
- Might have to manually download the rvm shell script, edit it to use home dir instead of /usr/local
- rvm install 1.9.2 --proxy http://proxy.traderonline.com:80 -C --with-readline-dir=/home/ruby/.rvm/usr,--with-openssl-dir=/home/ruby/.rvm/usr,--with-zlib-dir=/home/ruby/.rvm/usr
- The zlib stuff is from an error, see [here] for more info
Gems
- export GEM_HOME=/home/builder/.rvm/gems/ruby-1.9.2-p180
- gem install bundler
cd to the gem source directory with a Gemfile in it
- bundle install
- rake install