diff --git a/Gemfile b/Gemfile index e8f7cb0..15fed91 100644 --- a/Gemfile +++ b/Gemfile @@ -1,10 +1,13 @@ source "http://rubygems.org" -if RUBY_VERSION >= '1.9.2' && RUBY_ENGINE == 'ruby' - gem 'debugger' -end -if RUBY_VERSION == '1.8.7' - gem 'ruby-debug' +# Only install appropriate ruby debugger if we are not on travis +unless ENV['CI'] + if RUBY_VERSION >= '1.9.2' && RUBY_ENGINE == 'ruby' + gem 'debugger' + end + if RUBY_VERSION == '1.8.7' + gem 'ruby-debug' + end end gemspec gem "jquery-rails"