Skip to content

Gemfile ruby version operators break docker image name #36

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

Open
benjaminwood opened this issue Nov 24, 2020 · 0 comments
Open

Gemfile ruby version operators break docker image name #36

benjaminwood opened this issue Nov 24, 2020 · 0 comments

Comments

@benjaminwood
Copy link
Member

Regarding:

::Bundler.definition.ruby_version.versions[0] || RUBY_VERSION

When the Gemfile has defined a ruby version such as: ruby "~> 2.7", an invalid ruby image tag will be used in the compose file. Perhaps we should strip ~> from it.

Version operators are documented here: https://bundler.io/gemfile_ruby.html

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