Skip to content

Commit

Permalink
Sorting libraries before require to avoid load order issues on server
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismael Celis committed Jun 2, 2008
1 parent e6aff6d commit 2c61102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webrat/core.rb
@@ -1,3 +1,3 @@
Dir[File.join(File.dirname(__FILE__), "core", "*.rb")].each do |file|
Dir[File.join(File.dirname(__FILE__), "core", "*.rb")].sort.each do |file|
require File.expand_path(file)
end

0 comments on commit 2c61102

Please sign in to comment.