[Rails] gem development, adding a file to auto-load
Hi all,
I've created a gem that allows you to describe menu systems for a
rails app (or engine). You can find it here; https://rubygems.org/gems/alacarte
I use a DSL thats similar to the routes file. I would like my file
(called alacarte.rb, which currently lives in config/initializers) to
auto-reload in development every time the file gets changed. Without
configuring the application every time (so it should be a setting/code
in the gem that makes it auto-reload).
Can someone point me in the direction on how to do this?
Thanks all!
Stijn
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home