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

时间:2013-10-28 13:44:25

标签: ruby bundler compass-sass osx-mavericks

升级到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>'

1 个答案:

答案 0 :(得分:2)

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

Can't install compass via rvm

我希望这会有所帮助。我刚刚运行了gem uninstall ruby​​gems-bundler,并卸载了所有。