mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
[QENG-4070] Make json version conditional on RUBY_VERSION
This commit is contained in:
parent
ad0f0107b8
commit
5993813f50
1 changed files with 6 additions and 1 deletions
7
Gemfile
7
Gemfile
|
|
@ -1,6 +1,11 @@
|
||||||
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'json', '~> 1.8'
|
if RUBY_VERSION =~ /^1\.9\./
|
||||||
|
gem 'json', '~> 1.8'
|
||||||
|
else
|
||||||
|
gem 'json', '>= 1.8'
|
||||||
|
end
|
||||||
|
|
||||||
gem 'rack', '>= 1.6'
|
gem 'rack', '>= 1.6'
|
||||||
gem 'rake', '>= 10.4'
|
gem 'rake', '>= 10.4'
|
||||||
gem 'rbvmomi', '>= 1.8'
|
gem 'rbvmomi', '>= 1.8'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue