Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit rails gem without restarting server

Rails3: I cloned an existing gem in order to modify it in development. I put in my gemfile:

gem 'my_gem_name', :path => '../gems/my_gem_name'

It's working fine, but every time I want to edit the gem, I have to restart my rails server. Is there a way that I don't need to restart the server?

For view/controller/helper files there is the setting config.cache_classes = false but I wasn't able to find a similar one for the locals gem.

like image 433
alex Avatar asked Oct 08 '22 14:10

alex


1 Answers

Here are a few other questions along the same lines with mixed results:

One Two Three

like image 83
ScottJShea Avatar answered Oct 12 '22 10:10

ScottJShea