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

Added .ruby-version #1165

Merged
merged 2 commits into from
Oct 24, 2019
Merged

Added .ruby-version #1165

merged 2 commits into from
Oct 24, 2019

Conversation

Zidail
Copy link
Contributor

@Zidail Zidail commented Oct 22, 2019

Description

What Changed:

  • Added .ruby-version and set project ruby version to 2.3.7

Why 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 and rvm which version should be used for this project and minimize conflicts that may arise from different contributors using different versions of ruby.

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Issue

Resolves None

@brunobar79 brunobar79 self-requested a review October 22, 2019 13:40
Copy link
Contributor

@brunobar79 brunobar79 left a 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.

@Zidail
Copy link
Contributor Author

Zidail commented Oct 22, 2019

@brunobar79 Thanks for the feedback. I'll be sure to do that in the future.
I'll update this branch to only include the .ruby-version and update that to use 2.3.7 instead.

@brunobar79 brunobar79 changed the title Update project for ruby Added .ruby-version Oct 24, 2019
Copy link
Contributor

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@brunobar79 brunobar79 merged commit 4d640e9 into MetaMask:develop Oct 24, 2019
@Zidail Zidail deleted the ruby-config branch October 24, 2019 04:01
brunobar79 pushed a commit that referenced this pull request Nov 12, 2019
brunobar79 pushed a commit that referenced this pull request Nov 12, 2019
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants