woensdag 22 december 2010

Quick Ruby install

Install packages:
  sudo apt-get install build-essential ruby rubygems git curl
Install RVM:
  bash
The first timeyou install RVM, you must put the following line into
your ~/.bash_profile at the very end, after all path loads etc:
  [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" #
This loads RVM into a shell session.

Setup RVM packages:
rvm package install readline
rvm package install zlib
rvm package install openssl
rvm install 1.8.7 --with-openssl-dir=$rvm_path/usr
--with-readline-dir=$rvm_path/usr --with-zlib-dir=$rvm_path/usr

Why RVM doesn't install the packages automatically is beyond me,
because I hoped RVM would make my life easier...

Posted via email from posterous of Matthijs Groen

Geen opmerkingen: