Permalink
Browse files

Ensure Dir.glob is sorted

  • Loading branch information...
1 parent f4858e4 commit 15438c41bb618ac8c766b1e8225bd722de23fa90 @josh josh committed Jul 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/paths.rb
@@ -179,7 +179,7 @@ def expanded
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

0 comments on commit 15438c4

Please sign in to comment.