2012-08-31 50 views
0

我正在使用RoR,我正嘗試使用我正在從書「Rails 3 in Action」中學習的Cucumber框架。但是,當我鍵入Rails g黃瓜安裝 - 找不到activesupport-3.1.3

rails g cucumber:install 

我收到以下錯誤。

Could not find activesupport-3.1.3 in any of the sources 
Run `bundle install` to install missing gems. 

然而,當我做「包安裝」,我得到展示的ActiveSupport-3.1.3以下輸出安裝

... 
Using rake (0.9.2.2) 
Using multi_json (1.3.6) 
Using activesupport (3.1.3) 
Using builder (3.0.0) 
Using i18n (0.6.0) 
Using activemodel (3.1.3) 
Using erubis (2.7.0) 
... 

我的寶石文件可以在這裏找到enter link description here

任何幫助,非常感謝。

回答

0

嘗試bundle exec rails ...也許其他版本的鐵軌拾取?

也env變量BUNDLE_GEMFILE設置爲其他Gemfile?

+0

你舉起一分鐘!爲什麼這個工作???? !!!! –