得到如下错误:
MacRuby can only be installed on a Darwin OS.
macruby-0.12 is not installed.
To install do: 'rvm install macruby-0.12'当尝试
rvm use之后
\curl -sSL https://get.rvm.io | bash -s stable在新鲜的ubuntu 12.04上。在我家里的电脑上和一个VPS。如果我使用
rvm use 2.1.1例如,直接使用I,我就可以使用RVM。尽管如此,有时在编写脚本时,它还是会带来一些麻烦。并编写rvm使用...每次打开终端窗口都很烦人。那是什么?不能用谷歌搜索任何与macruby和ubuntu相关的东西。家用PC是ubuntu 12.04。据我所知,VPS是x86。我试着成为新用户并重新安装ubuntu,但它仍然在那里。
另外,如果我这样做了
rvm install macruby-0.12我收到了这样的错误,当然
MacRuby can only be installed on a Darwin OS.
MacRuby can only be installed on a Darwin OS.
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/12.04/x86_64/macruby-0.12.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
RVM does not have prediction for required space for macruby-0.12, assuming 150MB should be enough, let us know if it was not.
MacRuby can only be installed on a Darwin OS.附言:我尝试过/bin/bash --login等几个月以前使用旧的RVM (每次我收到关于.rvmrc弃用的消息时)都没问题,但有一次我不得不升级...
发布于 2014-06-06 15:55:32
要检查正在使用的ruby,请运行:
rvm current至于rvm use,它是一个,但是,你应该得到一个帮助屏幕,用法是:
rvm use ruby-version@gemset其中大多数组件都是可选的,但至少必须给出一个
发布于 2014-06-08 20:07:06
我在使用多用户rvm时遇到了完全相同的问题。这是对我有帮助的:
rvm implode #卸载整个rvm
然后我安装了rvm 1.25.27,这个问题就解决了。仅仅升级rvm没有任何帮助。
user@host:~$ rvm use
Using /usr/local/rvm/gems/ruby-2.1.2https://stackoverflow.com/questions/23141663
复制相似问题