mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
require bundler groups to include rake-tasks in engines
If you generate a full engine, this will include rake tasks from your gem under the `app` namespace. For example if you have a dependency on `rspec-rails` in your engine's `gemspec`. You will get the task `app:spec` Closes #8229
This commit is contained in:
parent
7cb0c8852b
commit
a1fd9cd1a0
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
## Rails 4.0.0 (unreleased) ##
|
||||
|
||||
* Engines with a dummy app include the rake tasks of dependencies in the app namespace.
|
||||
Fix #8229
|
||||
|
||||
*Yves Senn*
|
||||
|
||||
* Add sqlserver.yml template file to satisfy '-d sqlserver' being passed to 'rails new'.
|
||||
Fix #6882
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ require "action_mailer/railtie"
|
|||
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
|
||||
<% end -%>
|
||||
|
||||
Bundler.require
|
||||
Bundler.require(*Rails.groups)
|
||||
require "<%= name %>"
|
||||
|
||||
<%= application_definition %>
|
||||
|
|
Loading…
Reference in a new issue