-
-
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
JRuby 1.7.5 issues with Rails Console on Windows #1096
Comments
This is still a problem in Jruby 1.7.6 |
Still a problem on 1.7.10 |
2nd answer in this thread fixes most of these problems: Using the |
The display and interactivity issues are likely a tty problem. We've long meant to do a better rework of all subprocess launching, partially to propagate tty correctly, but it is a large job that may wait until 9k. The inproc flag makes the exec'ed subprocess run in the same JVM, and as a result it is able to reuse the same tty. There are also issues with subprocess launches on Windows since we have to emulate exec logic in some places. We try to do what MRI does, but it's hard to do without having the C code in place. I will move this to 1.7.12 and we'll try again to address it. |
+1 for fixing it! |
Another vote for this issue; I use JRuby to debug Java but it's hard if jirb has these limitations. |
UPDATE: don't mind, I switched to Ubuntu and everything is ok. +1 Gitbash: git version 2.9.3.windows.1 |
This can't still be an issue, right? @enebo Do you try Rails console when you verify 1.7 releases on Windows? |
I haven't seen this issue on |
@hathawad Thanks! 👍 |
I just tried updating to JRuby 1.7.5 but found that Rails Console on Windows has the following issues:
IRB.conf[:PROMPT_MODE] = :SIMPLE
to my.irbrc
. This isn't required under 1.7.4.exit
and pressing enter doesn't immediately return to the terminal prompt and I have to press enter again to do so.I noticed that
Switch to inspect mode
is outputted during the load process. This isn't there under 1.7.4.I'm using Java 1.7.0_25 and Rails 3.2.14. The problems occur in Command Prompt, PowerShell and Git Bash.
The text was updated successfully, but these errors were encountered: