Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rake task:
task :version do
puts RUBY_VERSION
end
Terminal Output:
→ rvm list
rvm rubies
=> ruby-1.8.7-p249 [ x86_64 ]
ruby-1.8.7-p299 [ x86_64 ]
ruby-1.9.1-p378 [ x86_64 ]
ruby-1.9.2-p0 [ x86_64 ]
~/code/tekyll [git:master]
→ rvm 1.8.7-p249
~/code/tekyll [git:master]
→ ruby -version
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10.3.0]
-e:1: undefined local variable or method `rsion' for main:Object (NameError)
~/code/tekyll [git:master]
→ rake version
(in /Users/scott/Code/tekyll)
1.9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.