Skip to content

Instantly share code, notes, and snippets.

@bkerley
Forked from jimweirich/gist:343526
Created March 25, 2010 13:18
Show Gist options
  • Save bkerley/343539 to your computer and use it in GitHub Desktop.
Save bkerley/343539 to your computer and use it in GitHub Desktop.
> ruby /tmp/version.rb
1.8.6
> cat /tmp/version.rb
puts VERSION
> rvm use 1.8.7 -S /tmp/version.rb
Now using ruby 1.8.7 p249
ruby-1.8.7-p249: ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10.2.0]
1.8.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment