spicycode: This is why RVM is cool

For my fellow Rails geeks out there. Chad Humphries (aka.spicycode) is a badass developer at Relevance (though not nearly as physically badass as his Tumblr avatar would lead you to believe). Great tip for ya’lls playing with RVM:

Step 1: Take a directory, any directory. Sprinkle a *.rvmrc* file in the directory.

Step 2: Put “rvm your-ruby-version” in the file.

Step 3: Magic! Let’s test this in the real world…


~/src/codes > ruby -v
ruby 1.9.2dev (2010-02-25 trunk 26759) [x86_64-darwin10]

~/src/codes > cd internet_superstar

~/src/codes/internet_superstar /msater > ruby -v
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin10.2.0], MBARI
0x6770, Ruby Enterprise Edition 2010.01

~/src/codes/internet_superstar /msater > cat .rvmrc
rvm ree
Posted on March 4, 2010 · 0 notes