Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #8262 from senny/8229_correct_bundler_require_in_e…

…ngines

require bundler groups to include rake-tasks in engines
  • Loading branch information...
commit 133cdf0ec018ea70856e8e8b3c0fa86169ffe64a 2 parents ea0056f + a1fd9cd
@rafaelfranca rafaelfranca authored
View
9 railties/CHANGELOG.md
@@ -1,8 +1,13 @@
## 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
-
+ Fix #6882
+
*Robert Nesius*
* Rake test:uncommitted finds git directory in ancestors *Nicolas Despres*
View
2  railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb
@@ -11,7 +11,7 @@
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%>
-Bundler.require
+Bundler.require(*Rails.groups)
require "<%= name %>"
<%= application_definition %>
Please sign in to comment.
Something went wrong with that request. Please try again.