-
Notifications
You must be signed in to change notification settings - Fork 0
jdee edited this page Oct 30, 2010
·
5 revisions
RVM is strongly recommended. The briefest RVM installation is (from the bash command line):
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
Then edit your ~/.bashrc file in accordance with the RVM Post Install instructions.
Briefly, in your ~/.bashrc, replace
[ -z "$PS1" ] && return
with
if [[ -n "$PS1" ]]; then
Then at the bottom of the file, add:
fi
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Exit your current shell and start a new one before continuing.
Dubsar has been tested with MRI 1.9.2 and REE 1.8.7. Both are easily installed using RVM. (All the following commands are issued at the bash command line.)
rvm install ree-1.8.7
rvm install 1.9.2
But see the following section for notes on installing MRI.
Usually in an Ubuntu installation, MRI requires the following steps:
rvm package install openssl
rvm package install readline
rvm install 1.9.2 --with-readline-dir=~/.rvm/usr --with-openssl-dir=~/.rvm/usr
Choose a ruby to use (for the remainder of this shell or until changed manually):
rvm use ree
Choose a default (and use it now):
rvm --default 1.9.2
jdee@fatman:~$ rvm list
rvm rubies
ruby-1.9.2-p0 [ x86_64 ]
=> ree-1.8.7-2010.02 [ x86_64 ]
jruby-1.5.3 [ amd64-java ]
ruby-1.8.7-p302 [ x86_64 ]