Skip to content

Commit

Permalink
fix error when required files are out of expected order
Browse files Browse the repository at this point in the history
  • Loading branch information
charliesome committed Feb 15, 2012
1 parent 24e840e commit 715451c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twostroke/runtime.rb
Expand Up @@ -2,7 +2,7 @@ module Twostroke::Runtime
class RuntimeError < Twostroke::Error
end

Dir.glob File.expand_path("../runtime/*.rb", __FILE__) do |f|
Dir.glob(File.expand_path("../runtime/*.rb", __FILE__)).sort do |f|
require f
end
end

0 comments on commit 715451c

Please sign in to comment.