On this page
class Rails::Generators::AppGenerator
Private Instance Methods
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 537
def after_bundle(&block) # :doc:
@after_bundle_callbacks << block
end
Registers a callback to be executed after bundle binstubs have run.
after_bundle do
git add: '.'
end
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.