Answer the question
In order to leave comments, you need to log in
Automatic update of local gems?
I am working on two gems, I have three folders:
mygem1, mygem2, mygems_example
Inside the first two folders is the code of the gems, in the third one is a Rails application that serves to test these gems. The application's Gemfile mygems_example includes these 2 gems with their local path:
gem 'mygem1', path: '/path/to/mygem1'
gem 'mygem2', path: '/path/to/mygem2'
module MyGem1
include ActiveSupport::Dependencies::Loadable
unloadable
end
Answer the question
In order to leave comments, you need to log in
Maybe it can't be done with Rails, I don't know for sure.
Try gem rerun. It will restart the server when files change.
The command will be like rerun 'rails s'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question