Instead of deleting rubinius, I just write the command:
rvm ruby-1.9.3
then it works.
Question
When I compile "ruby -v" command it returns,
rubinius 2.0.0dev (1.8.7 78652b58 yyyy-mm-dd JI) [x86_64-apple-darwin11.4.2]
How should I upgrade ruby 1.8.7 to 1.9.2 ? Should I remove rubinius ?
Thanks,
Solution
Instead of deleting rubinius, I just write the command:
rvm ruby-1.9.3
then it works.
OTHER TIPS
You can also set the language mode flag like so:
rbx -X19 my_script.rb
And to be clear, the Rubinius team is focusing on 1.9 support, so it's best to run Rubinius in 1.9 mode anyway.