Skip to content

JRuby 9.2.0 shows LoadError: no such file to load -- io/console/size #32318

@yahonda

Description

@yahonda

CI with jruby-head for actionpack has been failing at Travis https://travis-ci.org/rails/rails/jobs/356541503

Steps to reproduce

$ cd actionpack
$ bundle install
$ bundle exec ruby -Itest test/journey/routes_test.rb

I think this is not specific to routes_test.rb. It could reproduce almost every test.

Expected behavior

Tell us what should happen

Actual behavior

$ bundle exec ruby -Itest test/journey/routes_test.rb
LoadError: no such file to load -- io/console/size
             require at org/jruby/RubyKernel.java:969
    block in require at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:283
     load_dependency at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:249
             require at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:283
              <main> at /home/yahonda/git/rails/actionpack/lib/action_dispatch/routing/inspector.rb:4
             require at org/jruby/RubyKernel.java:969
     block in (root) at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:1
             require at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:283
     load_dependency at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:249
              <main> at /home/yahonda/git/rails/activesupport/lib/active_support/dependencies.rb:283
     block in (root) at /home/yahonda/git/rails/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:5
              (root) at /home/yahonda/git/rails/actionpack/test/abstract_unit.rb:1
           build_app at /home/yahonda/git/rails/actionpack/test/abstract_unit.rb:105
          initialize at /home/yahonda/git/rails/actionpack/lib/action_dispatch/middleware/stack.rb:47
  <class:initialize> at /home/yahonda/git/rails/actionpack/test/abstract_unit.rb:93
              <main> at /home/yahonda/git/rails/actionpack/test/abstract_unit.rb:103
             require at org/jruby/RubyKernel.java:969
              <main> at /home/yahonda/git/rails/actionpack/test/abstract_unit.rb:115
$

System configuration

Rails version:master branch

Ruby version:jruby 9.2.0.0-SNAPSHOT (2.4.1) 2018-03-15 36b44df Java HotSpot(TM) 64-Bit Server VM 25.161-b12 on 1.8.0_161-b12 [linux-x86_64]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions