Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby3.0-bundler/2.6.2 package update #38370

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Dec 26, 2024

Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Dec 26, 2024
Signed-off-by: Carlos Tadeu Panato Junior <cpanato@chainguard.dev>
Copy link
Contributor Author

octo-sts bot commented Jan 1, 2025

Gen AI suggestions to solve the build error:

• Detected Error: "bundler-2.6.2 requires Ruby version >= 3.1.0. The current ruby version is 3.0.7.220."

• Error Category: Version/Dependency

• Failure Point: Ruby gem installation step during the build process

• Root Cause Analysis: There's a version mismatch - trying to install Bundler 2.6.2 which requires Ruby 3.1+, but the package is specifically for Ruby 3.0

• Suggested Fix:

  1. Update the package version to use Bundler 2.5.x series instead of 2.6.2
  2. Modify the package.yaml:
package:
  name: ruby3.0-bundler
  version: 2.5.6  # Last version supporting Ruby 3.0

• Explanation: The error aligns with the comment in your update section that "Starting from v2.6.x, upstream drops support for Ruby 3.0". Bundler 2.5.x is the last series that supports Ruby 3.0.

• Additional Notes:

  • The tag-filter in your YAML already correctly specifies "bundler-v2.5." showing awareness of this limitation
  • This is a known compatibility constraint from upstream
  • The version bump to 2.6.2 conflicts with the package's intended purpose of supporting Ruby 3.0

• References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated pr request-version-update request for a newer version of a package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants