Skip to content

Commit

Permalink
make globbing work under Ubuntu too
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmo committed Sep 15, 2010
1 parent 580a166 commit 8a5f1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/require_all.rb
Expand Up @@ -65,7 +65,7 @@ def require_all(*args)
else
raise ArgumentError, "#{arg} isn't a file or directory"
end
rescue Errno::ENOENT
rescue SystemCallError
# If the stat failed, maybe we have a glob!
files = Dir.glob arg

Expand Down

0 comments on commit 8a5f1ef

Please sign in to comment.