2013-10-30 62 views
0

在安裝RVM有一天,我不能再使用compass watch盡我所能。指南針不再工作後紅寶石更新

我試過更新系統,再次安裝指南針,以及sass,都無濟於事。

這是我在終端得到的錯誤:

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

我已經嘗試使用bundle update sass-railsthis question,但得到的錯誤Could not locate Gemfile

我也試圖按照the advise here無濟於事。

在這一點上,我有點失落。我對Ruby世界和RVM都是全新的,而且我不是最熟練的終端用戶。

感謝您的任何幫助或洞察力

回答

0

我沒有答案,如何解決問題本身,但我沒有用簡單地刪除它暫時去。

我用rvm implode從我的機器上刪除rvmthis post

之後一切正常。不幸的是,這會延遲我對Ruby世界的實驗時間,因爲我沒有時間弄清楚如何讓RVM沒有看起來帶來的複雜性。

最佳,

3

/Gemfile not found是舊版本rubygems-bundler寶石的一個bug,運行:

rvm @global do gem update rubygems-bundler 

,它應該正常工作

+0

這非常適合我 –