Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION #7275

Merged
1 commit merged into from Aug 5, 2019

Conversation

eregon
Copy link
Contributor

@eregon eregon commented Aug 4, 2019

  • RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
  • There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.

This blocks rubygems/rubygems#2797.
Also see rubygems/rubygems#2864

Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Nice!

@eregon eregon force-pushed the always-use-RUBY_ENGINE_VERSION branch from cd0bd0b to f3cc34c Compare August 4, 2019 15:41
* RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.
@eregon eregon force-pushed the always-use-RUBY_ENGINE_VERSION branch from f3cc34c to f9d9104 Compare August 4, 2019 15:52
@eregon
Copy link
Contributor Author

eregon commented Aug 4, 2019

Should be green now.

@eregon
Copy link
Contributor Author

eregon commented Aug 4, 2019

https://travis-ci.org/bundler/bundler/jobs/567570729 failed but it seems transient and unrelated.
It passes locally.

@deivid-rodriguez
Copy link
Member

Yup, this is the current annoying flaky we have in master. I'll work on fixing it tomorrow, but this PR is good to go for me!

Thanks for improving this 👍.

ghost pushed a commit to rubygems/rubygems that referenced this pull request Aug 5, 2019
2864: Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION r=bronzdoc a=eregon

* RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.

This blocks #2797.
Also see rubygems/bundler#7275

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).


Co-authored-by: Benoit Daloze <eregontp@gmail.com>
@eregon
Copy link
Contributor Author

eregon commented Aug 5, 2019

Could we merge this PR? The related PR in RubyGems was merged.

@deivid-rodriguez
Copy link
Member

It will be merged soon, no worries. I just want to get master's build stable first.

@deivid-rodriguez
Copy link
Member

It should be good now. Thanks so much for this @eregon!

@bundlerbot r+

ghost pushed a commit that referenced this pull request Aug 5, 2019
7275: Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION r=deivid-rodriguez a=eregon

* RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.

This blocks rubygems/rubygems#2797.
Also see rubygems/rubygems#2864

Co-authored-by: Benoit Daloze <eregontp@gmail.com>
@ghost
Copy link

ghost commented Aug 5, 2019

Build succeeded

@ghost ghost merged commit f9d9104 into rubygems:master Aug 5, 2019
@eregon
Copy link
Contributor Author

eregon commented Aug 5, 2019

@deivid-rodriguez Thanks for merging!

hsbt pushed a commit to rubygems/rubygems that referenced this pull request Aug 16, 2019
2864: Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION r=bronzdoc a=eregon

* RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.

This blocks #2797.
Also see rubygems/bundler#7275

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).


Co-authored-by: Benoit Daloze <eregontp@gmail.com>
hsbt pushed a commit to rubygems/rubygems that referenced this pull request Aug 16, 2019
2864: Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION r=bronzdoc a=eregon

* RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.

This blocks #2797.
Also see rubygems/bundler#7275

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).


Co-authored-by: Benoit Daloze <eregontp@gmail.com>
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants