mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Fix bundle install
on Ruby 2.1.9
This commit is contained in:
parent
d4ec3214d2
commit
2b37bd6586
2 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
3
Gemfile
3
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
|
||||
|
|
Loading…
Reference in a new issue