mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +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:
|
include:
|
||||||
- rvm: 1.9.3
|
- rvm: 1.9.3
|
||||||
- rvm: 2.0
|
- rvm: 2.0
|
||||||
|
- rvm: 2.1.8
|
||||||
- rvm: 2.2
|
- rvm: 2.2
|
||||||
script: bundle exec rake $SUITE
|
script: bundle exec rake $SUITE
|
||||||
env: SUITE="lint test test:functional"
|
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'
|
gem 'net-ssh', '~> 2.9'
|
||||||
end
|
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 'json', '~> 1.8'
|
||||||
|
gem 'rack', '< 2.0'
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: ffi 1.9.11 is currently erroneous on windows tests
|
# TODO: ffi 1.9.11 is currently erroneous on windows tests
|
||||||
|
|
Loading…
Reference in a new issue