Project

General

Profile

Actions

Defect #35621

closed

Bundler fails to install globalid when using Ruby < 2.6.0

Added by Go MAEDA over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The latest version of globalid, 0.5.1, reqruies Ruby 2.6 or later (see https://github.com/rails/globalid/commit/5b255ffd7cdb335febe6fa0f3847a39b3161a9bb). Therefore, if you are using Ruby 2.5 or earlier, `bundle install` will fail to resolve the dependency and abort in some environments.

https://www.redmine.org/builds/logs/build_4.2-stable_sqlite3_ruby-2.5_38.html

Fetching globalid 0.5.1 (was 0.4.2)
Installing globalid 0.5.1 (was 0.4.2)
Gem::RuntimeRequirementNotMetError: globalid requires Ruby version >= 2.6.0. The
current ruby version is 2.6.0.rc1.
An error occurred while installing globalid (0.5.1), and Bundler cannot
continue.
Make sure that `gem install globalid -v '0.5.1' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  rails was resolved to 5.2.6, which depends on
    actionmailer was resolved to 5.2.6, which depends on
      activejob was resolved to 5.2.6, which depends on
        globalid
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Actions

Also available in: Atom PDF