From 2b37bd658605c43d51deec33a9b4364269f6e337 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Wed, 24 Aug 2016 09:52:28 -0700 Subject: [PATCH] Fix `bundle install` on Ruby 2.1.9 --- .travis.yml | 1 + Gemfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 186eb46e9..d59e0d8b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ matrix: include: - rvm: 1.9.3 - rvm: 2.0 + - rvm: 2.1.8 - rvm: 2.2 script: bundle exec rake $SUITE env: SUITE="lint test test:functional" diff --git a/Gemfile b/Gemfile index 38d6796b7..a90255b87 100644 --- a/Gemfile +++ b/Gemfile @@ -8,8 +8,9 @@ if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.3') gem 'net-ssh', '~> 2.9' end -if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('2.1.0') +if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0') gem 'json', '~> 1.8' + gem 'rack', '< 2.0' end # TODO: ffi 1.9.11 is currently erroneous on windows tests