Trying to use rspec, but getting an error that rspec-core 2.2.1 has been activated, but my Gemfile requires rspec-core 2.1.0

后端 未结 6 841
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 03:35

I\'ve update my gems. I\'ve created a sample Rails app and have the following in my Gemfile:

source \'http://rubygems.org\'

gem \'rails\', \'3.0.3\'
gem \'sqli         


        
6条回答
  •  被撕碎了的回忆
    2021-02-08 04:09

    try using bundle update rspec and bundle update rspec-rails. your Gemfile.lock file, located in the root directory, is probably specifying a version number for each gem.

提交回复
热议问题