Permalink
Browse files

Use debugger gem if we are not Travis and Ruby < 2.0

  • Loading branch information...
spastorino committed Sep 21, 2012
1 parent 44fa921 commit b7918cce046810ad66c9e641e8f92e549b76c31b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gemfile
View
@@ -39,7 +39,7 @@ instance_eval File.read local_gemfile if File.exists? local_gemfile
platforms :mri do
group :test do
gem 'ruby-prof', '~> 0.11.2'
- gem 'debugger'
+ gem 'debugger' if !ENV['TRAVIS'] && RUBY_VERSION < "2.0"
end
end

3 comments on commit b7918cc

@steveklabnik

This comment has been minimized.

Show comment
Hide comment
@steveklabnik

steveklabnik Sep 22, 2012

Member

Hmmm, doesn't bundler have a way of including stuff only on certain Ruby versions? I guess this works regardless.

Member

steveklabnik replied Sep 22, 2012

Hmmm, doesn't bundler have a way of including stuff only on certain Ruby versions? I guess this works regardless.

@spastorino

This comment has been minimized.

Show comment
Hide comment
@spastorino

spastorino Sep 23, 2012

Member

@steveklabnik hmm yeah not sure if you could say < 2.0 though, feel free to change it

Member

spastorino replied Sep 23, 2012

@steveklabnik hmm yeah not sure if you could say < 2.0 though, feel free to change it

@sikachu

This comment has been minimized.

Show comment
Hide comment
@sikachu

sikachu Sep 23, 2012

Member

I guess platform: :mri_19 ?

Member

sikachu replied Sep 23, 2012

I guess platform: :mri_19 ?

Please sign in to comment.