Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5134

Fix or disable app-tests-jruby

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 7.3.3
    • Affects Version/s: None
    • Component/s: None

      App tests started failing with jruby on mongoid recently. The root of the problem seems to be that installation of rails on fresh jruby setup is not possible:

       ✗ gem install rails
      Fetching tzinfo-2.0.4.gem
      ... some output skipped ...
      Successfully installed activerecord-6.1.4
      ERROR:  Error installing rails:
              The last version of globalid (>= 0.3.6) to support your Ruby & RubyGems was 0.4.2. Try installing it with `gem install globalid -v 0.4.2` and then running the current command again
              globalid requires Ruby version >= 2.6.0. The current ruby version is 2.5.8.0.

      The latest version of globalid gem was released on July 27, and it requires ruby >= 2.6, while jruby pretends to be 2.5.

      I am sure this is going to be fixed soon. Meanwhile we disable app-tests-jruby configuration.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: