1

大家好,我尝试在 ruby​​ on rails 上安装最新版本,运行此命令时遇到几个问题

\curl -L https://get.rvm.io | bash -s stable --ruby

我的mac版本是10.6.8

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.6/i386/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Skipping `brew update` make sure your formulas are up to date.
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
Missing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxslt, libksba, openssl, sqlite.
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
There were package installation errors, make sure to read the log.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
On OSX 10.6 instead of command line tools install:
    https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg

下载这个应用程序并安装它,然后再次运行安装 ruby​​ 的行,但我得到了同样的错误。

任何想法!

4

1 回答 1

2

这是 rvm 的一个已知问题(参见:https ://github.com/wayneeseguin/rvm/issues/1671 )。

问题已解决。与ruby分开安装rvm,然后尝试

rvm install 2.0.0 --autolibs=4

安装 2.0.0。

于 2013-04-26T15:50:11.180 回答