I am working on a rails app which uses a gem also in development. In my rails app, I have
gem 'somegem', :path => '~/r/somegem'
However, when I make changes to the code in somegem it does not update in my rails app. I’m not sure which bundler commands I should be using after making changes, or if I need to at all. Restarting the rails app doesn’t help either.
Any suggestions on developing rails app with bundler and the :path option?
Run this command:
This command evaluates your Gemfile and installs all missing dependencies. It will re-package your gem from that location and make it available via
bundle execnext time you use it.Also, be sure to start the server with:
to be sure you’re using your bundle’s gems.