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

rubygems-update requires ruby 3, breaking docker image creation #4271

Open
hrdl-github opened this issue Dec 17, 2023 · 0 comments
Open

rubygems-update requires ruby 3, breaking docker image creation #4271

hrdl-github opened this issue Dec 17, 2023 · 0 comments

Comments

@hrdl-github
Copy link

https://rubygems.org/gems/rubygems-update/versions/3.5.0, which was released on December 15, requires ruby >= 3.0.0, which is higher than ruby 2.7. This prevents the Docker image from being built:

$ docker-compose build
...
 => ERROR [panoptes  7/10] RUN gem update --system                                                              12.1s 
------                                                                                                                
 > [panoptes  7/10] RUN gem update --system:                                                                          
12.02 ERROR:  Error installing rubygems-update:                                                                       
12.02 	There are no versions of rubygems-update (= 3.5.1) compatible with your Ruby & RubyGems
12.02 	rubygems-update requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225.
12.02 ERROR:  While executing gem ... (NoMethodError)
12.02     undefined method `version' for nil:NilClass
12.09 Updating rubygems-update
------
failed to solve: process "/bin/sh -c gem update --system" did not complete successfully: exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant