の中に :features/support/env.rb
require 'cucumber/rspec/doubles'
プロジェクトを新しい CPU に移植したところ、すべてでこのエラーが返されます。
undefined local variable or method `_setup_mocks'
私は何かが欠けていると思います。
宝石 :
rspec (2.0.0.beta.18)
rspec-core (2.0.0.beta.18)
rspec-expectations (2.0.0.beta.18)
rspec-mocks (2.0.0.beta.18)
ccumber 0.8.5
rails (3.0.0.rc2, 2.3.8, 2.3.5, 2.2.2, 1.2.6)
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
また、これらのバージョンのレールはすべてファントム レール バージョンのようです。それらを削除しようとすると、次のようになります。
>> sudo gem uninstall -v=2.2.2 rails
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d rails`