简体   繁体   中英

Error with Spring gem when I try to start rails console

I'm working on a project that was started by someone else. When I try to start the rails console I get the following error:

/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.8.4/lib/bundler/runtime.rb:34:in block in setup': You have already activated spring 1.3.6, but your Gemfile requires spring 1.3.3. Prepending block in setup': You have already activated spring 1.3.6, but your Gemfile requires spring 1.3.3. Prepending bundle exec` to your command may solve this.

I've run bundle exec rake db:migrate and bundle exec rake db:seed , there were also no problems with bundle install - Any ideas on what's causing this?

正如在评论中发现的那样,解决方案是删除Gemfile.lock并重新安装捆绑软件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM