大家好我尝试在ruby上安装最后一个版本的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的行,但是我得到了同样的错误。
任何想法!
答案 0 :(得分:2)
这是rvm的一个已知问题(参见:https://github.com/wayneeseguin/rvm/issues/1671)。
问题已解决。将rvm与ruby分开安装,然后尝试
rvm install 2.0.0 --autolibs=4
安装2.0.0。