How to use local spring gem

Hi,

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:

/home/puneet/.rvm/gems/ruby-2.2.2/bin/spring:23:in load' /home/puneet/.rvm/gems/ruby-2.2.2/bin/spring:23:in
/home/puneet/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in eval' /home/puneet/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in

please help me out with this.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs