-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Executing the following on windows
java -cp jruby-complete-1.7.3.jar org.jruby.Main -e "require 'resolv'; p Resolv.getaddress('www.google.com')"
fails with this stacktrace
Errno::ENOENT: No such file or directory - D:/etc/hosts
initialize at org/jruby/RubyFile.java:333
open at org/jruby/RubyIO.java:1179
open at org/jruby/RubyKernel.java:333
lazy_initialize at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:189
synchronize at org/jruby/ext/thread/Mutex.java:149
lazy_initialize at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:185
each_address at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:236
each_address at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:115
each at org/jruby/RubyArray.java:1613
each_address at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:114
getaddress at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:92
getaddress at jar:file:/D:/temp/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/1.9/resolv.rb:43
(root) at -e:1
It seems similar to old closed report JRUBY-3480
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels