2012-05-18 49 views
4

我正试图开始使用指南针& Sass。我已经安装了,每次我得到同样的错误三个版本的红宝石(1.9.1,1.9.2,1.9.3)和指南针宝石:指南针宝石投掷错误

[email protected]:~$ compass 
/home/martin/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler/shared_helpers.rb:22:in `default_gemfile': Could not locate Gemfile (Bundler::GemfileNotFound) 
    from /home/martin/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:213:in `default_gemfile' 
    from /home/martin/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:164:in `root' 
    from /home/martin/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:123:in `load' 
    from /home/martin/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:114:in `setup' 
    from /home/martin/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:119:in `require' 
    from /home/martin/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.1/bin/compass:25:in `<top (required)>' 
    from /home/martin/.rvm/gems/ruby-1.9.3-p194/bin/compass:19:in `load' 
    from /home/martin/.rvm/gems/ruby-1.9.3-p194/bin/compass:19:in `<main>' 
    from /home/martin/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval' 
    from /home/martin/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>' 

我怎样才能解决这个问题?

任何帮助,非常感谢。

回答

10

我找到了答案here,似乎是指南针宝石和捆绑软件的新版本的问题。

要解决只需要运行:

rubygems-bundler-uninstaller