diff options
author | Joshua Peek <josh@joshpeek.com> | 2011-07-11 16:09:46 -0700 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2011-07-11 16:09:46 -0700 |
commit | 5c8be9eb864886d7ba9abba0d59786614cca2a5a (patch) | |
tree | 201041f2d09392bfa198adac1ec06da54eb6f1b3 /railties | |
parent | eeb58b0934f646847b3220e3db270bc6b9148919 (diff) | |
download | rails-5c8be9eb864886d7ba9abba0d59786614cca2a5a.tar.gz rails-5c8be9eb864886d7ba9abba0d59786614cca2a5a.tar.bz2 rails-5c8be9eb864886d7ba9abba0d59786614cca2a5a.zip |
Ensure Dir.glob is sorted
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb index 09ff0ef378..3f1d2ca87d 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -157,7 +157,7 @@ module Rails path = File.expand_path(p, @root.path) if @glob - result.concat Dir[File.join(path, @glob)] + result.concat Dir[File.join(path, @glob)].sort else result << path end |