문제

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,

도움이 되었습니까?

해결책

Instead of deleting rubinius, I just write the command:

rvm ruby-1.9.3

then it works.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top