blob: e381e387f6d6c01a40b0c4a71302cd32da313748 (
plain)
1
2
3
4
5
6
7
8
|
unless Object.const_defined?(:RUBY_NAME) and RUBY_NAME
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE
RUBY_NAME = RUBY_ENGINE
else
require 'rbconfig'
RUBY_NAME = RbConfig::CONFIG["RUBY_INSTALL_NAME"] || RbConfig::CONFIG["ruby_install_name"]
end
end
|