2012-08-31 48 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

你举起一分钟!为什么这个工作???? !!!! –