Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I encountered the same issue today with a suggestion: Prepending bundle exec to your command may solve this.

Prepending bundle exec didn't help (I was doing that already).

spring stop & spring restart did not help.

I need to do : bundle update spring that works for me.

is there any better solution to fix using the spring version in previous gemlock file?

like image 694
Jaswinder Avatar asked Aug 27 '15 05:08

Jaswinder


2 Answers

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

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

like image 172
thedanotto Avatar answered Oct 05 '22 18:10

thedanotto


In my case I fixed this issue by running this command

bundle update spring
like image 44
techdreams Avatar answered Oct 05 '22 20:10

techdreams