views:

34

answers:

0

I'm creating a RubyGem, and I'm wondering if there's any way I can set it up so that when it's listed in a Gemfile and someone runs bundle install, my gem can copy some files into the Rails path. This would save the user from having to type rails generate blah, where blah is the name of a generator in my gem.

Is there a callback that the current version of Bundler runs when it installs a gem?