Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我能知道使用的是什么ruby实现吗?_Ruby_Implementation - Fatal编程技术网

我能知道使用的是什么ruby实现吗?

我能知道使用的是什么ruby实现吗?,ruby,implementation,Ruby,Implementation,如问题所述,有没有办法确定我的ruby实现是mri、yarv还是jruby等 我想知道如何检查一些错误是否是由实现引起的 编辑:: 我想检查我的是不是Rubinus、MRI、YARV等等。看看RUBY_引擎的常数: 在RMI上: RUBY_ENGINE # => "ruby" RUBY_ENGINE # => "jruby" RUBY_ENGINE # => "rbx" 在JRuby上: RUBY_ENGINE # => "ruby" RUBY_ENGINE #

如问题所述,有没有办法确定我的ruby实现是mri、yarv还是jruby等

我想知道如何检查一些错误是否是由实现引起的

编辑::


我想检查我的是不是Rubinus、MRI、YARV等等。看看RUBY_引擎的常数:

在RMI上:

RUBY_ENGINE # => "ruby"
RUBY_ENGINE # => "jruby"
RUBY_ENGINE # => "rbx"
在JRuby上:

RUBY_ENGINE # => "ruby"
RUBY_ENGINE # => "jruby"
RUBY_ENGINE # => "rbx"
关于鲁宾尼乌斯:

RUBY_ENGINE # => "ruby"
RUBY_ENGINE # => "jruby"
RUBY_ENGINE # => "rbx"
RUBY\u DESCRIPTION
为您提供了更多信息:

(JRuby)


查看RUBY\u引擎的
常数:

在RMI上

RUBY_ENGINE # => "ruby"
RUBY_ENGINE # => "jruby"
RUBY_ENGINE # => "rbx"
在JRuby上:

RUBY_ENGINE # => "ruby"
RUBY_ENGINE # => "jruby"
RUBY_ENGINE # => "rbx"
关于鲁宾尼乌斯:

RUBY_ENGINE # => "ruby"
RUBY_ENGINE # => "jruby"
RUBY_ENGINE # => "rbx"
RUBY\u DESCRIPTION
为您提供了更多信息:

(JRuby)


在我的cygwin上,我得到emtpy$echo$RUBY_engines不是RMI做MRI吗?在我的cygwin上,我得到emtpy$echo$RUBY_engines不是RMI做MRI吗?