From 9a27899c92d10e3ee2282a6c6b10b080e48eb34e Mon Sep 17 00:00:00 2001 From: Adam Sanderson Date: Wed, 5 Jan 2011 14:18:48 -0800 Subject: [PATCH] Minor fix to allow ruby 1.8 to launch, does not load gems... --- lib/qwandry/configuration/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/qwandry/configuration/default.rb b/lib/qwandry/configuration/default.rb index 8c89a39..03ef76f 100644 --- a/lib/qwandry/configuration/default.rb +++ b/lib/qwandry/configuration/default.rb @@ -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 = []