Difference between revisions of "Ruby"

From KeegansWiki
Jump to navigation Jump to search
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 ruby-1.9.2 --with-zlib-dir=./.rvm/usr/ --proxy http://proxy.traderonline.com:80
+
* rvm install 1.9.2 -C --with-zlib-dir=./.rvm/usr/ --proxy http://proxy.traderonline.com:80
 
** 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

Revision as of 12:46, 11 May 2011

Installing Ruby with git

Ruby itself

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