-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Added .ruby-version #1165
Added .ruby-version #1165
Conversation
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.
Hey @Zidail, thanks for your PR!
Regarding the .ruby-version addition, that's a good idea, but I'd prefer to use 2.3.7 which is what's installed by default in MacOS Mojave and it's what we use on CI.
Regarding moving the gemfile to the root, I don't think that's necessary cause we're not using ruby at all for android projects, so I'd prefer to keep it the way it is.
In the future, when you have ideas like this I recommend you to open a github issue first to start a discussion before doing any work so we're all in the same page.
@brunobar79 Thanks for the feedback. I'll be sure to do that in the future. |
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.
👍
This reverts commit 4d640e9.
Description
What Changed:
.ruby-version
and set project ruby version to 2.3.7Why create a separate file for saving the ruby version?
Just like how we specify which version of node we need to use with the
.nvmrc
, we should also specify which version of ruby we should use.Adding this file allows us to tell
rbenv
andrvm
which version should be used for this project and minimize conflicts that may arise from different contributors using different versions of ruby.Checklist
Issue
Resolves None