Draft: fix failing pipeline

Summary

The pipeline was failing due to Bundler version compatibility issues:

  • Ruby 2.7 job failed because Bundler 4.0.1 requires Ruby >= 3.2.0
  • Ruby 3.2+ jobs failed because the --path flag was deprecated and removed in Bundler 4.x

Changes

  • Added conditional Bundler installation logic: Installs Bundler 2.4.22 for Ruby 2.7 (last compatible version) and latest Bundler for Ruby >= 3.0
  • Replaced deprecated --path flag: Changed from bundle install --path vendor/ruby to the modern approach using bundle config set --local path 'vendor/ruby' followed by bundle install
  • Updated .gitlab-ci.yml: Modified the before_script section to use version-appropriate Bundler installation and modern bundle configuration syntax

Verification

CI Linter: Configuration validated successfully with no errors or warnings
Syntax Verification: Conditional logic tested and working correctly
Bundle Config Command: Modern syntax verified and functional

All jobs in the test matrix (Ruby 2.7, 3.0, 3.1, 3.2, 3.3, 3.4) are expected to pass with these changes.


Fixes failing pipeline on !14

Session 1398346

Edited by Paul Phillips

Merge request reports

Loading