aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-05-18 22:15:28 -0300
committerJosé Valim <jose.valim@gmail.com>2010-05-19 12:59:53 +0200
commit5573ab2047b07c3de08d40566de8a8fc80a676cf (patch)
tree6b95fecc788bc275001832f1f7018e95ec193375 /Gemfile
parent715f7c0b7c27a0fc4a6ec1619a0e4ccdce4fe85f (diff)
downloadrails-5573ab2047b07c3de08d40566de8a8fc80a676cf.tar.gz
rails-5573ab2047b07c3de08d40566de8a8fc80a676cf.tar.bz2
rails-5573ab2047b07c3de08d40566de8a8fc80a676cf.zip
Enable ruby-debug only for MRI
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile4
1 files 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