Provide at least:
This must be due to the ^C fix we did in 9.1.3 for #3721.
I don't know why it would cause this, though :-(
A workaround for you: I believe if you install the 1.0 jruby-readline gem from here you'll restore the old behavior.
@mkristian Perhaps it's time we made jruby-readline a real rubygems.org gem, so it's easier for folks to up/downgrade it as we make fixes.
Drat...installing the 1.0 gem does not seem to fix the problem. I'll look into this today.
Ok, here's a working workaround:
The jar replacement fixes the issue. I agree the jruby-readline should become a real gem as otherwise this will remain a dirty fix.
Would this also impact pasting content? I'm seeing some extremely weird behavior there, although I haven't tried to isolate JRuby from all the other tools which might be impacting it.
@tobymurray-nanometrics On Windows? It certainly could.
@mkristian I tried to release a 1.1.1 gem with the regression reverted, but I'm not sure it's building the gem appropriately for rubygems.org. I can install the gem, but attempting to activate it produces the following error:
 ~/projects/jruby-readline $ gem install jruby-readline
Successfully installed jruby-readline-1.1.1-java
1 gem installed
 ~/projects/jruby-readline $ jruby -v -e 'gem "readline"; require "readline"'
jruby 22.214.171.124 (2.3.1) 2016-09-01 2e1327f Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 +jit [darwin-x86_64]
to_specs at /Users/headius/.rvm/rubies/jruby-126.96.36.199/lib/ruby/stdlib/rubygems/dependency.rb:308
to_spec at /Users/headius/.rvm/rubies/jruby-188.8.131.52/lib/ruby/stdlib/rubygems/dependency.rb:320
gem at /Users/headius/.rvm/rubies/jruby-184.108.40.206/lib/ruby/stdlib/rubygems/core_ext/kernel_gem.rb:65
<main> at -e:1
I believe it should be possible to put out a release of the gem, and get existing JRuby versions to load it by using gem install --default jruby-readline combined with gem install jruby-readline in some order, but this indicates it's simply not loading right.
gem install --default jruby-readline
gem install jruby-readline
jruby-readline 1.1.1 released to rubygems and maven. The current workaround is
This is still outstanding. @enebo: Should we revert the change to jruby-readline and release 220.127.116.11 with the reverted version?
@headius I feel this is more annoying than what happened in #3721 so yeah reverting feels like the lesser of two evils. I also hate second-classing windows users so perhaps this is a nice gesture :)
This is fixed with the release of jruby-readline-1.1.1, and jruby-18.104.22.168 release today will ship that.
I can confirm this is fixed on Windows w/ jruby-22.214.171.124