Skip to content

Commit

Permalink
Merge pull request rails#3278 from arunagw/rails_rake_task_warning
Browse files Browse the repository at this point in the history
Global variable `$rails_rake_task' not initialized Warning removed
  • Loading branch information
josevalim committed Nov 28, 2011
2 parents 5f75a92 + 8ef1ec4 commit f4ce002
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/application/finisher.rb
Expand Up @@ -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)
Expand Down

0 comments on commit f4ce002

Please sign in to comment.