From 5573ab2047b07c3de08d40566de8a8fc80a676cf Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 18 May 2010 22:15:28 -0300 Subject: Enable ruby-debug only for MRI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Valim --- Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index e94afc828e..1d0f0f7c58 100644 --- a/Gemfile +++ b/Gemfile @@ -11,10 +11,10 @@ group :mri do gem 'yajl-ruby' gem "nokogiri", ">= 1.4.0" - if RUBY_VERSION < '1.9' + if !defined?(RUBY_ENGINE) && RUBY_VERSION < '1.9' gem "system_timer" gem "ruby-debug", ">= 0.10.3" - elsif RUBY_VERSION < '1.9.2' && !ENV['CI'] + elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION < '1.9.2' && !ENV['CI'] gem "ruby-debug19" end end -- cgit v1.2.3