-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run windows build (9000) #2429
Comments
I think I added an issue once you comment this one out so I will leave this open and mention this particular error case (io/console.rb): result = begin
old_stderr = $stderr.dup
$stderr.reopen('/dev/null')
`stty -a`
$?.exitstatus != 0
rescue Exception
nil
ensure
$stderr.reopen(old_stderr)
end old_stderr ends up being nil and the reopen explodes trying to reopen nil. If you comment this out you run into a different issue I cannot find involving IO.open trying to run native open on windows which does not exist. |
Commented out
|
I got the same behavior on snapshot from 12th Jan 2015. Commenting out the io/console part leads to the same message "NotImplementedError: open unsupported or native support failed to load". "jruby -v" works but all thease do not work on Windows:
|
Well, these methods in https://github.com/jnr/jnr-posix/ are unimplemented on windows platform
|
JRuby should now be working properly on Windows for basic commands. I managed to take it from clone all the way through serving a scaffolded Rails app. See commits leading up to a2ef35f. |
jruby -v
jruby 9.0.0.0-SNAPSHOT (2.2.0p0) 2015-01-05 6e85813 Java HotSpot(TM) 64-Bit Serv
er VM 25.25-b02 on 1.8.0_25-b18 +jit [Windows 8.1-amd64]
jruby -e "puts 'hello'"
jruby -J-Djruby.debug.loadService=true -J-Djruby.backtrace.style=raw -e "puts 'hello'"
The text was updated successfully, but these errors were encountered: