diff options
Diffstat (limited to 'guides/source/engines.md')
-rw-r--r-- | guides/source/engines.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md index 5446c1c188..068f1efae3 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -1393,7 +1393,7 @@ s.add_development_dependency "moo" Both kinds of dependencies will be installed when `bundle install` is run inside of the application. The development dependencies for the gem will only be used -when the tests for the engine are running. +when the development and tests for the engine are running. Note that if you want to immediately require dependencies when the engine is required, you should require them before the engine's initialization. For @@ -1528,4 +1528,6 @@ These are the available configuration hooks. They do not hook into any particula ### Example -`config.before_configuration { puts 'I am called before any initializers' }` +```ruby +config.before_configuration { puts 'I am called before any initializers' } +``` |