Fix bundle install on Ruby 2.1.9

This commit is contained in:
John Keiser 2016-08-24 09:52:28 -07:00 committed by Christoph Hartmann
parent d4ec3214d2
commit 2b37bd6586
2 changed files with 3 additions and 1 deletions

View file

@ -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"

View file

@ -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