as questions states is there a way to find out if my ruby implementation is mri, yarv, or jruby, etc.
I want to know how I can check if some errors were due to implementations.
Edited::
I want to check if mine is Rubinus, MRI, YARV, etc..
as questions states is there a way to find out if my ruby implementation is mri, yarv, or jruby, etc.
I want to know how I can check if some errors were due to implementations.
Edited::
I want to check if mine is Rubinus, MRI, YARV, etc..
Look at the
RUBY_ENGINE
constant:On RMI:
On JRuby:
On Rubinius:
RUBY_DESCRIPTION
gives you even more information:(JRuby)