Permalink
Browse files

use the correct ruby-debug for the ruby version

  • Loading branch information...
1 parent 02dba1a commit 2e1b239962a4fc482af0228268a322798d6a8eb3 @dchelimsky dchelimsky committed Jun 25, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1 Gemfile
View
@@ -1,3 +1,5 @@
+source "http://rubygems.org"
+
gem "bundler"
gem "rake"
gem "jeweler"
@@ -11,4 +13,8 @@ gem "flexmock"
gem "rspec-core", :path => "."
gem "rspec-expectations", :path => "../rspec-expectations"
gem "rspec-mocks", :path => "../rspec-mocks"
-gem "ruby-debug"
+if RUBY_VERSION.to_s =~ /1.9/
+ gem "ruby-debug19"
+else
+ gem "ruby-debug"
+end

0 comments on commit 2e1b239

Please sign in to comment.