You have already activated spring 1.3.6, but spring 1.3.3 is required for your Gemfile. (Gem :: LoadError)

Today I faced the same problem: Providing bundle exec your team can solve this problem.

Providing the exec package did not help (I already did this).

spring stop and spring reboot did not help.

I need to do: spring batch update this works for me.

is there a better fix for using the spring version in the previous gemlock file?

+6
source share
3 answers

I delete gemfile.lock and run bundle , which usually clears things up.

Otherwise, just remove the gem "spring" from the Gemfile and run bundle

+8
source

In my case, I fixed this problem by running this command

 bundle update spring 
+3
source

In my case, I did not use the new spring version anywhere, so running gem uninstall spring and choosing the option to remove version 1.3.6 solved my problem. Thus, I did not have to change the Gemfile.lock file.

0
source

All Articles