我試圖安裝在軌道上黃瓜2.3.11(GEM -v = 1.6.2)具有以下的Gemfile捆綁安裝黃瓜發電機沒有找到
group :test do gem 'fabrication' gem 'cucumber' gem 'cucumber-rails' end
捆綁安裝是成功的,但我不能找到'黃瓜'發電機。
bundle exec script/generate cucumber /Users/Tim/.rvm/gems/[email protected]_horizons/gems/rails-2.3.11/lib/rails_generator/lookup.rb:212:Warning: Gem::cache is deprecated and will be removed on or after August 2011. Use Gem::source_index. /Users/Tim/.rvm/gems/[email protected]_horizons/gems/rails-2.3.11/lib/rails_generator/lookup.rb:234:Warning: Gem::cache is deprecated and will be removed on or after August 2011. Use Gem::source_index. Couldn't find 'cucumber' generator
任何想法非常感謝。我運行: 紅寶石1.8.7(2011-02-18 PATCHLEVEL 334)的i686-darwin10.7.0],MBARI 0x6770,Ruby企業版2011.03
添
優秀的想法 - 謝謝! – bonhoffer
但這些更改後仍然無效,包括腳本/生成cucumber:install以及腳本/生成cucumber以及使用bundle exec。 。 。有什麼想法嗎? – bonhoffer