diff options
author | José Valim <jose.valim@gmail.com> | 2011-11-28 04:25:55 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-11-28 04:25:55 -0800 |
commit | f4ce002c0ef3b781781f49581b0d298152626620 (patch) | |
tree | 2821e6e04e774465ce1a610a53d15163739428fd | |
parent | 5f75a92c32973d4726e275173855b2af99ff2edb (diff) | |
parent | 8ef1ec427f75a3ca2a2c19737a057ad3f354a9bd (diff) | |
download | rails-f4ce002c0ef3b781781f49581b0d298152626620.tar.gz rails-f4ce002c0ef3b781781f49581b0d298152626620.tar.bz2 rails-f4ce002c0ef3b781781f49581b0d298152626620.zip |
Merge pull request #3278 from arunagw/rails_rake_task_warning
Global variable `$rails_rake_task' not initialized Warning removed
-rw-r--r-- | railties/lib/rails/application/finisher.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb index 028c8814c4..fc7d205a6f 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -2,6 +2,7 @@ module Rails class Application module Finisher include Initializable + $rails_rake_task = nil initializer :add_generator_templates do config.generators.templates.unshift(*paths["lib/templates"].existent) |