终端中的Rails错误

时间:2015-04-15 14:22:12

标签: ruby-on-rails-4 terminal

我的代码昨天工作正常然后我从git恢复了一些更改后我收到此错误

    /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.8.3/lib/bundler/runtime.rb:34:in `block in setup': You have already activated spring 1.3.4, but your Gemfile requires spring 1.3.3. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

我不确定如何解决这个问题我已经在终端运行了bundle命令但仍然没有运气!请帮助MEEEE !!!!

1 个答案:

答案 0 :(得分:7)

我在这里找到了解决相同或类似问题的人的答案:Couldn't run migration after spring update in Rails

您需要在终端

中运行bundle update spring