Gemfile in aruba-0.9.0.pre vs Gemfile in aruba-0.9.0.pre2

- old
+ new

@@ -3,18 +3,16 @@ # Use dependencies from gemspec gemspec # Debug aruba group :debug do - gem 'pry', '~> 0.10.1' - if RUBY_VERSION >= '2' && !RUBY_PLATFORM.include?('java') gem 'byebug', '~> 4.0.5' gem 'pry-byebug', '~> 3.1.0' end - if RUBY_VERSION < '2' && !RUBY_PLATFORM.include?('java') + if RUBY_VERSION < '2' && RUBY_VERSION > '1.9' && !RUBY_PLATFORM.include?('java') gem 'debugger', '~> 1.6.8' gem 'pry-debugger', '~> 0.2.3' end if RUBY_VERSION >= '1.9.3' && !RUBY_PLATFORM.include?('java') @@ -23,9 +21,16 @@ gem 'pry-doc', '~> 0.8.0' end group :development, :test do + # we use this to demonstrate interactive debugging within our feature tests + if RUBY_VERSION >= '2' + gem 'pry', '~> 0.10.1' + else + gem 'pry', '~>0.9.12' + end + # Run development tasks gem 'rake', '~> 10.4.2' if RUBY_VERSION >= '2.0.0' # Lint travis yaml