【问题标题】:ruby-2.0.0-p247 is not installedruby-2.0.0-p247 未安装
【发布时间】:2013-10-26 05:44:33
【问题描述】:

我刚刚更新到最新的 Mac OS Maverick,现在在终端中打开应用程序时,我收到以下消息。关于如何解决这个问题的任何想法?提前谢谢!

ruby-2.0.0-p247 未安装。

要安装:'rvm install ruby​​-2.0.0-p247'

[app]$rvm install ruby-2.0.0-p247

Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.0.0-p195/bin' is not at first place usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.0.0-p195'.
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Checking requirements for smf.
Installing requirements for smf.
anthonypanepinto password required for 'sm get head': 
Updating system..
Installing required package: libtool..........................
Error running 'requirements_smf_lib_install libtool',
please read /usr/local/rvm/log/1382766047_ruby-2.0.0-p247/package_install_libtool.log
Failed installation package: libtool of: libtool, gdbm.
Requirements installation failed with status: 1.

【问题讨论】:

  • ruby-2.0.0-p247 很好。安装吧!!!
  • 感谢 Amit,但是在尝试使用 rvm 安装 ruby​​-2.0.0-p247 时,我仍然遇到上述错误。有什么想法吗?

标签: ruby-on-rails ruby ruby-on-rails-3 rvm


【解决方案1】:

我看到有些人仍然有这个问题,我就是其中之一。从 mpapis 运行指令后,我仍然无法安装 ruby​​ 2.0.0,所以我这样做了

rvm install 2.0.0 --autolibs=1

这对我有用。

【讨论】:

    【解决方案2】:

    你需要运行:

    rvmsudo rvm get head    # update rvm
    rvm autolibs homebrew   # tell rvm to use homebrew
    rvm install 2.0.0       # install ruby
    rvm use 2.0.0 --default # use ruby and make it default
    

    这是 railsinstaller 之后的遗留问题...我认为它可以自动化 - 需要修复它。

    【讨论】:

    • 感谢 mpapis,但在尝试上述操作时我仍然遇到此错误:没有可用的二进制红宝石:osx/10.9/x86_64/ruby-2.0.0-p247。继续编译。请阅读“rvm help mount”以获取有关二进制红宝石的更多信息。检查 osx_brew 的要求。安装 osx_brew 的要求。更新系统............运行“requirements_osx_brew_update_system ruby​​-2.0.0-p247”时出错,请阅读/usr/local/rvm/log/1382767455_ruby-2.0.0-p247/update_system.log 要求安装失败状态:1.
    • 所以第一部分是警告而不是错误,第二部分是不同的错误,请确保 brew update 按预期工作,然后继续 ruby​​ 安装。
    猜你喜欢
    • 1970-01-01
    • 2021-10-17
    • 2013-10-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多