Pin gems to continue supporting older ruby versions
This commit is contained in:
parent
51b988117b
commit
2fab526428
7
Gemfile
7
Gemfile
@ -31,6 +31,9 @@ if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
|
|||||||
gem 'rake', '~> 10.0'
|
gem 'rake', '~> 10.0'
|
||||||
end
|
end
|
||||||
|
|
||||||
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '2.0'
|
if RUBY_VERSION < '2.0'
|
||||||
gem 'json', '~> 1.0'
|
# json 2.x requires ruby 2.0. Lock to 1.8
|
||||||
|
gem 'json', '~> 1.8'
|
||||||
|
# json_pure 2.0.2 requires ruby 2.0. Lock to 2.0.1
|
||||||
|
gem 'json_pure', '= 2.0.1'
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user