How can I automatically reload gem code on each request in development mode in Rails?
问题 I am developing a Rails app where most of the code not specific to the app has been written inside of various gems, including some Rails engines and some 3rd party gems for which I am enhancing or fixing bugs. gem 'mygem', path: File.expath_path('../../mygem', __FILE__) Since a lot of the code in these gems is really part of the app, it's still changing frequently. I'd like to be able to utilize the Rails feature where code is reloaded on each request when in development (i.e. when config