Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major 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 :
      0

      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

        Hide
        Thomas E Enebo added a comment -

        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).

        Show
        Thomas E Enebo added a comment - 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).
        Hide
        Charles Oliver Nutter added a comment -

        Fixed by Tom prior to pre2.

        Show
        Charles Oliver Nutter added a comment - Fixed by Tom prior to pre2.

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            Patrik Sundberg
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: