Skip to content
Browse files

Ensure plugins' rake tasks are loaded before application's rake tasks. [

#259 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent c4d570c commit ed0cb91a830f317e3a8192a90294c1005f6156c2 @ryankinderman ryankinderman committed with lifo
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/tasks/rails.rb
View
2 railties/lib/tasks/rails.rb
@@ -4,5 +4,5 @@
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 }

0 comments on commit ed0cb91

Please sign in to comment.
Something went wrong with that request. Please try again.