Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 1.9.3未安装(Mac OS X Lion)_Ruby - Fatal编程技术网

Ruby 1.9.3未安装(Mac OS X Lion)

Ruby 1.9.3未安装(Mac OS X Lion),ruby,Ruby,以下是我目前的Ruby版本: Matts-MacBook-Pro:~ cinicraft$ ruby -v ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0] 所以我想升级到1.9.3,这是我正在尝试的: Matts-MacBook-Pro:~ cinicraft$ rvm install 1.9.3 Searching for binary rubies, this might take some time. No b

以下是我目前的Ruby版本:

Matts-MacBook-Pro:~ cinicraft$ ruby -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
所以我想升级到1.9.3,这是我正在尝试的:

Matts-MacBook-Pro:~ cinicraft$ rvm install 1.9.3

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/cinicraft/.rvm/rubies/ruby-1.9.3-p448, this may take a while depending on your cpu(s)...
ruby-1.9.3-p448 - #downloading ruby-1.9.3-p448, this may take a while depending on your connection...
ruby-1.9.3-p448 - #extracted to /Users/cinicraft/.rvm/src/ruby-1.9.3-p448 (already extracted)
ruby-1.9.3-p448 - #configuring........
Error running './configure --prefix=/Users/cinicraft/.rvm/rubies/ruby-1.9.3-p448 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --without-tcl --without-tk --enable-shared',
please read /Users/cinicraft/.rvm/log/ruby-1.9.3-p448/1376080574_configure.log
There has been an error while running configure. Halting the installation.

这东西的问题是什么

您的RVM已过时

rvm get head
rvm install 1.9.3

日志上写着什么?这将是一个好的开始。请提供错误消息中引用的日志文件的输出。除非您告诉我们日志文件中的具体错误,否则我们无法帮助您。没有这些,我们只是猜测和浪费时间。