Search code examples
ruby-on-railsrubinius

How to Upgrade Ruby 1.8.7 to 1.9.2 in Rubinius


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.