Discriminate between ruby 1.9 and 1.8 in the bundle so we don't blow up on ruby-debug

This commit is contained in:
Ben Woosley 2010-11-16 22:13:07 -08:00 committed by Zach Dennis
parent 3a91f37c2a
commit 7f1e4b4a4b

View file

@ -19,5 +19,12 @@ group :test do
gem "delorean", ">= 0.2.0"
# Debugging
gem "ruby-debug", ">= 0.9.3"
platforms :mri_18 do
gem "ruby-debug", ">= 0.9.3"
end
platforms :mri_19 do
# TODO: Remove the conditional when ruby-debug19 supports Ruby >= 1.9.3
gem "ruby-debug19" if RUBY_VERSION < "1.9.3"
end
end