-
-
Notifications
You must be signed in to change notification settings - Fork 922
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
Support RUBY_ENGINE_VERSION #2746
Milestone
Comments
See also postmodern/chruby#329 |
It would be really nice to have a cross-implementation, standard way of checking the |
havenwood
added a commit
to havenwood/ruby
that referenced
this issue
Mar 23, 2015
`RUBY_ENGINE_VERSION` was [added by Rubinius](rubinius/rubinius@8212c46) for reporting the version of the Ruby engine. It has also [been proposed for JRuby](jruby/jruby#2746), where it would be equivalent to `JRUBY_VERSION`. In CRuby `RUBY_ENGINE_VERSION` would be the same as `RUBY_VERSION`.
Seems like a good idea to me...RUBY_ENGINE + RUBY_ENGINE_VERSION is like JVM's java.vm.name and java.vm.version. |
I did not notice this was created yesterday and made my own this morning (and then fixed it): #2751 Closing as dup. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rubinius has added support for
RUBY_ENGINE_VERSION
to help ruby switchers distinguish between the ruby version (1.9.3) and the implementation version (1.7.9). I think JRuby would also benefit from exposing this constant.The text was updated successfully, but these errors were encountered: