Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.2
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: None
-
Labels:None
-
Environment:jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) (Java HotSpot(TM) Client VM 1.6.0_21) [Windows XP-x86-java]
-
Number of attachments :
Description
Under cmd.exe this works as expected:
> jruby -e "puts 'echo ' + STDIN.gets"
foo
echo foo
But under a cygwin prompt:
$ jruby -e "puts 'echo ' + STDIN.gets"
– can't enter any input –
This is pretty disruptive for workflow for people working under cygwin. For example gem uninstall xxx asking you a question that you can't answer so then have to fire up a cmd.exe to do just that bit.
I'm trying to work out some kinks to get rvm+cygwin+jruby to work and it'd be great to get that normal workflow working on windows platform, fixing this bug would definitely help.
Activity
Thomas E Enebo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | JRuby 1.7 [ 17049 ] | |
| Fix Version/s | JRuby 1.6.3 [ 17374 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.7.0.pre2 [ 18527 ] | |
| Fix Version/s | JRuby 1.7.0.pre1 [ 17049 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.7.0.RC1 [ 18717 ] | |
| Fix Version/s | JRuby 1.7.0.pre2 [ 18527 ] |
Charles Oliver Nutter
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | JRuby 1.7.0.pre2 [ 18527 ] | |
| Fix Version/s | JRuby 1.7.0.RC1 [ 18717 ] | |
| Resolution | Fixed [ 1 ] |
I removed jruby shell script on master (destined to be 1.7) which does fix this issue, but I could not fix it for 1.6.3 since removing this exposed another issue in our native launcher (cygwin's /usr/bin/env sends cygwin-style path). I am concervatively moving this to 1.7 (it can be merged in a future 1.6 release once we fix our native launcher).