Skip to content

Commit

Permalink
Fix Gemfile to load "ruby-debug" using :platform declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
igal committed Nov 12, 2011
1 parent 762138f commit 4614737
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Gemfile
Expand Up @@ -66,12 +66,8 @@ group :development, :test do
gem 'rcov', '0.9.9', :require => false
gem 'factory_girl_rails', '1.0.1'

case RUBY_VERSION.to_f
when 1.9..2.0
gem "ruby-debug19", :require => "ruby-debug"
when 1.8..1.9
gem "ruby-debug"
end
gem 'ruby-debug', :platform => :mri_18
gem 'ruby-debug19', :platform => :mri_19
end

# Some dependencies are activated through server settings.
Expand Down

0 comments on commit 4614737

Please sign in to comment.