diff options
author | Ryan Kinderman <ryan@kinderman.net> | 2008-05-26 22:15:57 -0500 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-06-05 12:44:38 +0100 |
commit | ed0cb91a830f317e3a8192a90294c1005f6156c2 (patch) | |
tree | 84a54e3dd9dced23be4165b3112355f41402b6da /railties/lib/tasks | |
parent | c4d570c2eb6b7bd0a529e20a1055754183d50c23 (diff) | |
download | rails-ed0cb91a830f317e3a8192a90294c1005f6156c2.tar.gz rails-ed0cb91a830f317e3a8192a90294c1005f6156c2.tar.bz2 rails-ed0cb91a830f317e3a8192a90294c1005f6156c2.zip |
Ensure plugins' rake tasks are loaded before application's rake tasks. [#259 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/rails.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/rails.rb b/railties/lib/tasks/rails.rb index bfcf5bc493..8c2b7f9bde 100644 --- a/railties/lib/tasks/rails.rb +++ b/railties/lib/tasks/rails.rb @@ -4,5 +4,5 @@ $VERBOSE = nil Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext } # Load any custom rakefile extensions -Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } Dir["#{RAILS_ROOT}/vendor/plugins/*/**/tasks/**/*.rake"].sort.each { |ext| load ext } +Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } |