Skip to content

Commit

Permalink
global variable `$rails_rake_task' not initialized Warning removed
Browse files Browse the repository at this point in the history
  • Loading branch information
arunagw committed Nov 28, 2011
1 parent 5f75a92 commit 8ef1ec4
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 8ef1ec4

Please sign in to comment.