-
Notifications
You must be signed in to change notification settings - Fork 16
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
Amend ruby version in docker image and documentation #750
Conversation
@@ -1,6 +1,6 @@ | |||
source "https://rubygems.org" | |||
|
|||
ruby file: ".ruby-version" | |||
ruby "3.2.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to add the .ruby-version
file to the Dockerfile context?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. And personally i like hardcoding it too -- .ruby-version is really for your editor and maybe its better to globally git ignore your preferred toolset (I like asdf for example, so i get .tool-versions)
Gemfile will stop and give the right error message if your Ruby is wrong version and changing ruby to ME is something you just do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes - I believe you're right in terms of fixing the error screenshot I posted.
Saying that, I don't feel strongly either way whether this should be hard-coded or linked to the .ruby-version
file. I do agree however that it can get confusing having multiple files determining versions.
I personally use .tool-versions
, but I think the dockerisation can be agnostic of this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in favor of this 👍
@@ -1,6 +1,6 @@ | |||
source "https://rubygems.org" | |||
|
|||
ruby file: ".ruby-version" | |||
ruby "3.2.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. And personally i like hardcoding it too -- .ruby-version is really for your editor and maybe its better to globally git ignore your preferred toolset (I like asdf for example, so i get .tool-versions)
Gemfile will stop and give the right error message if your Ruby is wrong version and changing ruby to ME is something you just do
Seems fine |
No description provided.