FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixing brittle Host Ruby version detection. by kigster · Pull Request #56 · bazelruby/rules_ruby · GitHub

Fixing brittle Host Ruby version detection. - #56

Merged
kigster merged 1 commit into
developfrom
kig/fix-ruby-version-detection
Dec 31, 2019
Merged

Fixing brittle Host Ruby version detection.#56
kigster merged 1 commit into
developfrom
kig/fix-ruby-version-detection

Conversation

kigster commented Dec 27, 2019

Copy link
Copy Markdown
Contributor

Instead of using ruby --version we should let ruby print it's own version, which is just a string, eg "2.6.5" so no fancy substring logic is required.

This came up because I already had 2.6.5 installed, but it wasn't being detected for some reason.

Now it does.

kigster requested a review from yugui as a code owner December 27, 2019 22:18
kigster self-assigned this Dec 27, 2019
kigster added this to the M-0.1 milestone Dec 27, 2019
kigster added needs-review Please review this PR fix-tests labels Dec 29, 2019
Instead of using ruby --version we should let ruby print
it's own version, which is just a string, eg "2.6.5" so no
fancy substring logic is required.
kigster force-pushed the kig/fix-ruby-version-detection branch from bd63f68 to a273a8d Compare December 31, 2019 02:54
kigster merged commit e275d94 into develop Dec 31, 2019
kigster deleted the kig/fix-ruby-version-detection branch December 31, 2019 06:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix-tests needs-review Please review this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL