我想在Ubuntu Linux上使用RVM配置JRuby。我已成功安裝RVM,但是當試圖安裝JRuby,我得到以下錯誤:JRuby無法切換到1.6.2此解釋器錯誤rvm
[email protected]:~$ rvm install jruby-1.6.0 jruby-1.6.0 - #fetching jruby-1.6.0 - #extracted to /home/dlitwak/.rvm/src/jruby-1.6.0 (already extracted) Building Nailgun jruby-1.6.0 - #installing to /home/dlitwak/.rvm/rubies/jruby-1.6.0 **ERROR: Cannot switch to 1.6.2 for this interpreter.** jruby-1.6.0 - #importing default gemsets (/home/dlitwak/.rvm/gemsets/) Copying across included gems Building native extensions. This could take a while... Successfully installed jruby-launcher-1.0.7-java 1 gem installed
更新:我繼續,並希望它能工作,並且到目前爲止它已經。看起來像這可能是一個不必要的錯誤。 – dlitwak 2011-06-02 22:43:35
嘗試刪除您的jruby-1.6.0目錄並重新安裝jruby 1.6.0。 'rm -rf /home/dlitwak/.rvm/src/jruby-1.6.0&& rvm install jruby-1.6.0' – 2011-06-17 20:33:00