Created
February 10, 2014 18:04
-
-
Save anonymous/8921030 to your computer and use it in GitHub Desktop.
Jruby 1.7 Windows Directory Listing Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#does not print anything | |
Dir["c:\\code\\opensource\\jruby\\*"].each do |file| | |
puts '\\' + file | |
end | |
#prints files in the directory | |
Dir["c:/code/opensource/jruby/*"].each do |file| | |
puts '/' + file | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment