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

Ruby versioning issue in Site build #30

Open
poorejc opened this issue Jun 10, 2023 · 2 comments
Open

Ruby versioning issue in Site build #30

poorejc opened this issue Jun 10, 2023 · 2 comments
Labels

Comments

@poorejc
Copy link
Contributor

poorejc commented Jun 10, 2023

It looks like there is an issue in site dependencies that coerce Ruby 2.5 to run which breaks build. May be issue in RUBY_VERSION assignment. See below:

`
=> ERROR [ 4/12] RUN bundle install 8.4s

[ 4/12] RUN bundle install:
#0 4.336 Fetching gem metadata from https://rubygems.org/............
#0 8.006 Fetching gem metadata from https://rubygems.org/.
#0 8.039 Resolving dependencies...
#0 8.232 public_suffix-5.0.0 requires ruby version >= 2.6, which is incompatible with the
#0 8.232 current version, ruby 2.5.1p57


Dockerfile:7

5 | COPY Gemfile* /tmp/
6 | WORKDIR /tmp
7 | >>> RUN bundle install
8 |
9 | ENV app /app

ERROR: failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5
(base) jpoore@MacBook-Pro-2 site %
`
Active version of Ruby I'm running (via rbenv):

(base) jpoore@MacBook-Pro-2 site % ruby -v ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
Confirmed that 2.5 isn't even installed on computer...

@poorejc poorejc added the bug label Jun 10, 2023
@poorejc
Copy link
Contributor Author

poorejc commented Jun 10, 2023

Bug is reproduceable on 'Master" and was introduced with commit: 0eded9e

@brucearctor
Copy link
Contributor

A follow up could be introducing a test [ ex: via GH Actions ] to verify that future changes won't get merged and break ( at least in the same way ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants