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

upgrade to ruby 2.4.1 #278

Merged
merged 5 commits into from
Jun 19, 2017

Conversation

patmbolger
Copy link
Collaborator

.ruby-version Outdated
@@ -1 +1 @@
2.3.1
ruby-2.4.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you need to remove ruby; this should just be the version numbers, yes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually, this file is entirely created by RVM.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, but this file is also used by rbenv and so it should really just contain the version numbers. (The production system uses rbenv, BTW.)
You can have RVM put just the version numbers in there or you can create it manually.
(Note that the content you're replacing only has the version numbers in it.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, rbenv also supports the use of .ruby-version. Does the presence of the "ruby-" string break rbenv? (if you use rbenv in your local env could you check that?)

Copy link
Collaborator

@RobertCram RobertCram Jun 19, 2017

Choose a reason for hiding this comment

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

How did the .ruby-version file even get here? You put it in .gitignore in (already merged) PR #273

Copy link
Collaborator

Choose a reason for hiding this comment

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

re: what is allowed in the .ruby-version file

Short answer: .rbenv expects only the version number in the file. "ruby-" can't be in there.

tldr:

rbenv expects the contents to match the 'name' of one of the ruby versions that it installs. This is the list of 'names' of possible versions that can be installed
(tldr: the list is provided via ruby-build).

@patmbolger patmbolger force-pushed the ruby-2.4.1#147050603 branch from 89862aa to 12b5bee Compare June 19, 2017 18:15
@patmbolger patmbolger closed this Jun 19, 2017
@patmbolger patmbolger reopened this Jun 19, 2017
@patmbolger patmbolger force-pushed the ruby-2.4.1#147050603 branch from 60d04a0 to c5f3370 Compare June 19, 2017 18:29
@patmbolger patmbolger merged commit 4e2c0b6 into AgileVentures:develop Jun 19, 2017
@patmbolger patmbolger deleted the ruby-2.4.1#147050603 branch February 20, 2019 21:38
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.

3 participants