【发布时间】:2014-06-02 05:28:09
【问题描述】:
出现这样的错误:
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
直接,例如,它可以,我可以使用RVM。仍然有时在编写脚本时会产生一些麻烦。并且写 rvm use... 每次我打开终端窗口都很烦人。 那是什么?不能谷歌任何与 macruby 和 ubuntu 相关的东西。 家用电脑是 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 已弃用的消息时)一切正常,但一旦我不得不升级......
【问题讨论】:
-
好的,感谢您的快速响应,抱歉我的英语很差,无法说清楚。一步一步:1)安装新的 ubuntu 12.04 2)运行:\curl -sSL get.rvm.io | bash -s stable 3) 运行:rvm use 4) 查看有关 macruby 的错误信息。我不是 goona 安装 macruby。我想使用任何 ruby 版本(例如,最新的 2.1.1)。我不知道有关 Darwin OS 的消息来自哪里以及为什么会看到 macruby 错误。我发布了最后一段代码,因为我试图运行在终端中使用的东西(我知道我无法在 Ubuntu 上安装 macruby)
-
或者我做错了什么?例如,我不想运行“rvm use”来显示当前使用的 ruby 版本和 gemset 名称。
-
我在 Debian 上遇到同样的错误。
标签: ruby linux ubuntu rvm macruby