Skip to content

Officially support JRuby #145

@headius

Description

@headius

JRuby appears to be able to use rb-readline just fine these days.

$ rake test
/Users/headius/projects/jruby/bin/jruby -w -I"lib:test" -I"/Users/headius/projects/jruby/lib/ruby/gems/shared/gems/rake-12.2.1/lib" "/Users/headius/projects/jruby/lib/ruby/gems/shared/gems/rake-12.2.1/lib/rake/rake_test_loader.rb" "test/test_completion.rb" "test/test_filename_completion_proc.rb" "test/test_history.rb" "test/test_rbreadline.rb" "test/test_readline.rb" 
Run options: --seed 4979

# Running:

.................................................

Finished in 0.303875s, 161.2508 runs/s, 309.3382 assertions/s.
49 runs, 94 assertions, 0 failures, 0 errors, 0 skips

I have started recommending it to folks having problems with our built-in mostly-Java readline, such as here: jruby/jruby#1372

We are also considering shipping rb-readline as our standard readline library, for platforms where it will work (e.g. Windows will still use the mostly-Java readline we currently ship).

Anything we should watch out for? Any reason why rb-readline couldn't officially support JRuby at this point?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions