Ruby and RVM

My Ruby development is done under RVM.

To make sure each shell properly loads my rvm I needed to set Terminal > Preferences > Shell to run the command /bin/bash -l so that it thinks it is a login shell.

2011 02 17

As preparation for the Toronto Ruby Brigade’s work on Crafting Rails Applications I thought I should clean up my rvm & re-install…

2011 05 19

Use irbtools – see their instgallation instructions for ~/.irbrc

1
2
3
4
cd
rm -rf .rvm .rubinius_last_error .ri .rdoc .irb-* .irbrc.compiled.rbc
mv .irbrc .irbrc.old
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

Then restart the terminal.

1
2
3
4
rvm install 1.9.2
# updates rubygems and installs gems
rvm --default use 1.9.2
mv .irbrc.old .irbrc