Skip to content

Commit

Permalink
Put debug gems in debug group so they can be excluded with bundle ins…
Browse files Browse the repository at this point in the history
…tall --without debug
  • Loading branch information
morganchristiansson committed Nov 22, 2011
1 parent a8e0340 commit 8674ccc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ gemspec
ruby_minor_version = RUBY_VERSION.split('.')[1].to_i
if ruby_minor_version == 8
gem 'minitest'
gem 'ruby-debug'
group :debug do
gem 'ruby-debug'
end
elsif ruby_minor_version == 9
gem 'ruby-debug19', :require => 'ruby-debug'
group :debug do
gem 'ruby-debug19', :require => 'ruby-debug'
end
end

0 comments on commit 8674ccc

Please sign in to comment.