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

rebuild ruby3.4-bundler #38453

Merged
merged 1 commit into from
Dec 28, 2024
Merged

Conversation

Dentrax
Copy link
Member

@Dentrax Dentrax commented Dec 28, 2024

Package has been broken, so let's rebuild for the fix.

41bcbe72d1d3:/work/packages# apk update
41bcbe72d1d3:/work/packages# apk add ruby3.4-bundler
41bcbe72d1d3:/work/packages# bundler
/usr/lib/ruby/3.4.0/rubygems.rb:262:in 'Gem.find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundler (Gem::GemNotFoundException)
	from /usr/lib/ruby/3.4.0/rubygems.rb:281:in 'Gem.activate_bin_path'
	from /usr/bin/bundler:25:in '<main>'

Fixed:

f07b3c84ad19:/work/packages# apk add aarch64/ruby3.4-bundler-2.6.2-r0.apk 
f07b3c84ad19:/work/packages# bundler
Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine.
Could not locate Gemfile

Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>
@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Dec 28, 2024
@Dentrax Dentrax marked this pull request as ready for review December 28, 2024 12:17
@Dentrax Dentrax enabled auto-merge (squash) December 28, 2024 12:19
@Dentrax Dentrax merged commit 935477e into wolfi-dev:main Dec 28, 2024
14 checks passed
Dentrax added a commit that referenced this pull request Dec 29, 2024
Even the packages installed, Gem still complaining
`Gem::MissingSpecError` error, rebuilding the APKs fixes those errors.
Also package the missing deps.

Similar to #38453

Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants