Permalink
Browse files

Load rake task files in alphabetical order so you can build dependenc…

…ies and count on them (closes #2554) [Blair Zajac]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 85a7892 commit 50f7c9a98bf0511872e0b22e8434de3743ebc4ad @dhh dhh committed Oct 26, 2005
Showing with 7 additions and 2 deletions.
  1. +5 −0 railties/CHANGELOG
  2. +2 −2 railties/lib/tasks/rails.rb
View
@@ -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
@@ -4,5 +4,5 @@
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 }
+Dir["./lib/tasks/**/*.rake"].sort.each { |ext| load ext }
+Dir["./vendor/plugins/*/tasks/**/*.rake"].sort.each { |ext| load ext }

0 comments on commit 50f7c9a

Please sign in to comment.