diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-19 06:14:58 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-19 06:14:58 -0800 |
commit | 133cdf0ec018ea70856e8e8b3c0fa86169ffe64a (patch) | |
tree | 85bffb25a10b7b9a75106c5f05d4c98fe79d941c /railties/lib | |
parent | ea0056f52ab8e15668326458077a3f88825d2a30 (diff) | |
parent | a1fd9cd1a0ecd88517febf9c9d0ca85fd07ebe25 (diff) | |
download | rails-133cdf0ec018ea70856e8e8b3c0fa86169ffe64a.tar.gz rails-133cdf0ec018ea70856e8e8b3c0fa86169ffe64a.tar.bz2 rails-133cdf0ec018ea70856e8e8b3c0fa86169ffe64a.zip |
Merge pull request #8262 from senny/8229_correct_bundler_require_in_engines
require bundler groups to include rake-tasks in engines
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb b/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb index 8a8ba04a70..310c975262 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +++ b/railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb @@ -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 %> |