每当我运行spork
时,我都会收到以下错误:
You have already activated spork 0.9.0.rc8, but your Gemfile requires spork 0.8.5. Consider using bundle exec. (Gem::LoadError)
我的宝石文件:
group :development, :test do
gem "rspec"
gem "rspec-rails"
gem "factory_girl_rails"
gem 'spork'
gem 'webrat'
gem 'awesome_print'
gem 'vcr'
gem 'fakeweb'
end
我已经跑了bundle update
,gem update
甚至gem update --system
,但我仍然看到这个错误。运行bundle exec spork
有效,但我想知道为什么spork
不运行以及如何解决此问题。