ruby – 指南针在更新小牛队时抛出错误

升级到Mavericks后,OS罗盘会在我尝试创建任何内容时抛出错误.它似乎与其他一些错误有关,它可能与捆绑器有关,但我尝试了卸载和安装不同的版本 – 这些都不适用于我.还有其他想法吗?

KBD$compass create test
/Users/KBD/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib/bundler/definition.rb:16:in `build': /Gemfile not found (Bundler::GemfileNotFound)
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib/bundler.rb:148:in `definition'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib/bundler.rb:116:in `setup'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/bin/compass:26:in `<top (required)>'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/bin/compass:23:in `load'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/bin/compass:23:in `<main>'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
    from /Users/KBD/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'

最佳答案 好吧,所以它似乎最终与捆绑器有关.我终于把它卸载了,这似乎解决了这个问题.这个类似的问题/答案有帮助.

Can’t install compass via rvm

我希望这有帮助.我刚刚运行了gem uninstall ruby​​gems-bundler,并且全部卸载了.

点赞