diff options
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/rails.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/tasks/rails.rb b/railties/lib/tasks/rails.rb index 16e8b1ccb1..ec4847a2a5 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["./lib/tasks/**/*.rake"].sort.each { |ext| load ext } -Dir["./vendor/plugins/**/tasks/**/*.rake"].sort.each { |ext| load ext } +Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } +Dir["#{RAILS_ROOT}/vendor/plugins/**/tasks/**/*.rake"].sort.each { |ext| load ext } |