【问题标题】:Rails g cucumber install - Could not find activesupport-3.1.3Rails g黄瓜安装 - 找不到activesupport-3.1.3
【发布时间】:2012-08-31 17:34:21
【问题描述】:

我正在使用 RoR,我正在尝试使用从“Rails 3 in Action”一书中学习的 Cucumber 框架。但是,当我输入时

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)
...

我的 Gem 文件可以在这里找到 enter link description here

非常感谢任何帮助。

【问题讨论】:

    标签: ruby-on-rails cucumber bundler


    【解决方案1】:

    试试bundle exec rails ... 或许其他版本的rails 可以使用?

    env 变量 BUNDLE_GEMFILE 是否也设置为其他 Gemfile?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多