Minor fix to allow ruby 1.8 to launch, does not load gems...
This commit is contained in:
parent
12dd6073a7
commit
9a27899c92
|
@ -56,7 +56,7 @@ end
|
|||
# This might not be quite right...
|
||||
#
|
||||
# TODO figure out how to identify different ruby variants.
|
||||
if RUBY_ENGINE == 'ruby'
|
||||
if const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
|
||||
register_if_present :mri, :rvm do
|
||||
# If present, use the current rvm's ruby source.
|
||||
paths = []
|
||||
|
|
Loading…
Reference in New Issue