【发布时间】:2014-09-29 11:54:34
【问题描述】:
昨天为了运行我的测试,我只需要在命令行上使用rspec。
今天做了一个 git pull 和 blah blah 之后。我收到此错误
gems/bundler-1.6.2/lib/bundler/runtime.rb:34:in 'block in setup': You have already activated rspec-support 3.0.3, but your Gemfile requires rspec-support 3.0.0. Prepending 'bundle exec' to your command may solve this. (Gem::LoadError)
是的,bundle exec rspec 工作并运行我的测试。 “幕后”到底发生了什么?
【问题讨论】:
标签: ruby-on-rails ruby rspec bundler