Ruby on Rails
Wednesday, May 27, 2015
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 `<main>'
/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 `<main>'
please help me out with this.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0a262062-f740-4785-8c09-95ff8fb66220%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment