I have downloaded the source of spring gem and made some changes. Now I want to use this modified gem in my application. So how to do that ?
I tried 1 thing :-
Firstly I added
gem spring, :path=>"path to my local spring folder"
Then I ran
bundle install successfully and it installed spring(1.3.6) also.Now when I ran
bundle exec spring binstub --all it gave ;-
You’ve tried to invoke Spring when it’s already loaded (i.e. the Spring constant is defined).
This is probably because you generated binstubs with Spring 1.0, and you now have a Spring version > 1.0 on your system. To solve this, upgrade your bundle to the latest Spring version and then run
bundle exec spring binstub --all to regenerate your binstubs. This is a one-time step necessary to upgrade from 1.0 to 1.1.
Here’s the backtrace:
please help me out with this.