diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-05-31 11:21:45 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-05-31 11:21:45 -0700 |
commit | 51af1e25789728248078db6b17989b252ac2e53c (patch) | |
tree | 7c04369070220f3b1371a7cf458e1ee3f766be20 /railties/lib | |
parent | 709e432d1b83ad9529fedf2c90c4209fa65be3a7 (diff) | |
download | rails-51af1e25789728248078db6b17989b252ac2e53c.tar.gz rails-51af1e25789728248078db6b17989b252ac2e53c.tar.bz2 rails-51af1e25789728248078db6b17989b252ac2e53c.zip |
Explicitly require rake so its DSL is available
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/railtie.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb index c3cc65ab31..c84061e350 100644 --- a/railties/lib/rails/railtie.rb +++ b/railties/lib/rails/railtie.rb @@ -190,6 +190,7 @@ module Rails end def load_tasks(app=self) + require 'rake' extend Rake::DSL if defined? Rake::DSL self.class.rake_tasks.each { |block| self.instance_exec(app, &block) } |