Skip to content

Commit

Permalink
Use debugger gem if we are not Travis and Ruby < 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Sep 21, 2012
1 parent 44fa921 commit b7918cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -39,7 +39,7 @@ instance_eval File.read local_gemfile if File.exists? local_gemfile
platforms :mri do platforms :mri do
group :test do group :test do
gem 'ruby-prof', '~> 0.11.2' gem 'ruby-prof', '~> 0.11.2'
gem 'debugger' gem 'debugger' if !ENV['TRAVIS'] && RUBY_VERSION < "2.0"
end end
end end


Expand Down

3 comments on commit b7918cc

@steveklabnik
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@spastorino
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@sikachu
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess platform: :mri_19 ?

Please sign in to comment.