diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-10-26 12:50:29 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-10-26 12:50:29 +0000 |
commit | 50f7c9a98bf0511872e0b22e8434de3743ebc4ad (patch) | |
tree | 5cc90e6d1ceaadc7df674a4dc1f785606b829f4f | |
parent | 85a7892644cf16e004939fa5e26201d330de264d (diff) | |
download | rails-50f7c9a98bf0511872e0b22e8434de3743ebc4ad.tar.gz rails-50f7c9a98bf0511872e0b22e8434de3743ebc4ad.tar.bz2 rails-50f7c9a98bf0511872e0b22e8434de3743ebc4ad.zip |
Load rake task files in alphabetical order so you can build dependencies and count on them (closes #2554) [Blair Zajac]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/CHANGELOG | 5 | ||||
-rw-r--r-- | railties/lib/tasks/rails.rb | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 18b42884ab..7b661857b5 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,3 +1,8 @@ +*SVN* + +* Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac] + + *0.14.2 (RC3)* (October 26th, 2005) * Constants set in the development/test/production environment file are set in Object diff --git a/railties/lib/tasks/rails.rb b/railties/lib/tasks/rails.rb index 331a6dad35..48a9d67b65 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"].each { |ext| load ext } -Dir["./vendor/plugins/*/tasks/**/*.rake"].each { |ext| load ext }
\ No newline at end of file +Dir["./lib/tasks/**/*.rake"].sort.each { |ext| load ext } +Dir["./vendor/plugins/*/tasks/**/*.rake"].sort.each { |ext| load ext }
\ No newline at end of file |