【问题标题】:Ruby 1.9.3 Is Not Installing (Mac OS X Lion) [duplicate]Ruby 1.9.3 未安装(Mac OS X Lion)[重复]
【发布时间】:2013-08-09 20:43:12
【问题描述】:

这是我当前的 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.

这东西的问题是什么鬼威胁?

【问题讨论】:

  • 日志说什么?这将是一个好的开始。
  • 提供错误信息中引用的日志文件的输出
  • 除非您告诉我们日志文件中的具体错误是什么,否则我们无法为您提供帮助。否则,我们只是在猜测和浪费时间。

标签: ruby


【解决方案1】:

您的 RVM 已过期。

rvm get head
rvm install 1.9.3

【讨论】:

    猜你喜欢
    • 2011-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多