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

Replace unnecessary shell exec to get Ruby version info #945

Conversation

jsjohnst
Copy link

In issue #943 sub-point #2, it was identified that using RUBY_DESCRIPTION returns the same thing as ruby -v does for all currently supported Ruby versions. This change fixes that sub-point and provides a fallback to the old method in the event it fails as a safety precaution.

In issue getsentry#943 sub-point getsentry#2, it was identified that using RUBY_DESCRIPTION
returns the same thing as `ruby -v` does for all currently supported Ruby
versions. This change fixes that sub-point and provides a fallback to the
old method in the event as a safety precaution.
@jsjohnst jsjohnst changed the title Remove unneeded shell exec to get Ruby version info Replace unnecessary shell exec to get Ruby version info Jan 13, 2020
@jsjohnst
Copy link
Author

None of the build failures were related to my change. :|

@st0012 st0012 added this to the 3.1.0 milestone Aug 14, 2020
@st0012 st0012 modified the milestones: 3.1.0, 3.0.3 Aug 20, 2020
@st0012
Copy link
Collaborator

st0012 commented Aug 20, 2020

Thanks for the fix! Can you rebase it against the latest master? I have fixed the build.

@st0012 st0012 self-requested a review August 20, 2020 13:12
@st0012 st0012 modified the milestones: 3.0.3, 3.1.0 Aug 27, 2020
@st0012
Copy link
Collaborator

st0012 commented Sep 10, 2020

Close because of #1017

@st0012 st0012 closed this Sep 10, 2020
@jsjohnst jsjohnst deleted the jsjohnst/fix_ruby_version_detection branch September 10, 2020 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants