mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Lock nokogiri for ruby < 2.4
This commit is contained in:
parent
71d729938b
commit
f6095bbff8
7
Gemfile
7
Gemfile
@ -33,8 +33,11 @@ if RUBY_VERSION < '2'
|
|||||||
gem 'mime-types', [ '>= 2.6.2', '< 3' ]
|
gem 'mime-types', [ '>= 2.6.2', '< 3' ]
|
||||||
end
|
end
|
||||||
|
|
||||||
if RUBY_VERSION < '2.1'
|
if ENV['CI']
|
||||||
gem 'nokogiri', '< 1.7'
|
if RUBY_VERSION < '2.4'
|
||||||
|
# Windows: An error occurred while installing nokogiri (1.8.0)
|
||||||
|
gem 'nokogiri', '< 1.7', platforms: @windows_platforms
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# https://github.com/bundler/bundler/blob/89a8778c19269561926cea172acdcda241d26d23/lib/bundler/dependency.rb#L30-L54
|
# https://github.com/bundler/bundler/blob/89a8778c19269561926cea172acdcda241d26d23/lib/bundler/dependency.rb#L30-L54
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user