Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
load appropriate ruby-debug for RUBY_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
infused committed Sep 18, 2011
1 parent 8599d91 commit 75bcacd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions dbf.gemspec
Expand Up @@ -21,8 +21,14 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']

s.required_rubygems_version = '>= 1.3.0'
s.add_dependency 'fastercsv', '1.5.4'
s.add_development_dependency 'rspec', '2.6.0'
# s.add_development_dependency 'metric_fu', '2.0.1'
s.add_dependency 'fastercsv', '~> 1.5.4'
s.add_development_dependency 'rspec', '~> 2.6.0'

if RUBY_VERSION.to_f >= 1.9
s.add_development_dependency 'ruby-debug19'
else
s.add_development_dependency 'ruby-debug'
end
# s.add_development_dependency 'metric_fu'
end

0 comments on commit 75bcacd

Please sign in to comment.