Permalink
Browse files

Merge pull request #3278 from arunagw/rails_rake_task_warning

Global variable `$rails_rake_task' not initialized Warning removed
  • Loading branch information...
2 parents 5f75a92 + 8ef1ec4 commit f4ce002c0ef3b781781f49581b0d298152626620 @josevalim josevalim committed Nov 28, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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)

0 comments on commit f4ce002

Please sign in to comment.