summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-08-26 23:08:57 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-08-26 23:08:57 -0600
commit2f7618dc87e6a1bcc6359acbebfec7b31f80c976 (patch)
tree6f46e770ed6e3c2183b7beb370beeaec2ee96cd0 /Gemfile
parent0ea4dff461f63ccb06bdf90b75d013f82780bfea (diff)
fix broken Gemfile
- prevent nokogiri from being vetoed on Ruby 2.1 when not mingw32
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index f9f9b2db..d646ebb7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -20,7 +20,7 @@ group :development do
gem 'nokogiri', '~> 1.6.0'
end
elsif ruby_version < (Gem::Version.new '2.2.0')
- gem 'nokogiri', '~> 1.7.0', :platforms => [:mingw, :x64_mingw]
+ gem 'nokogiri', '~> 1.7.0' if Gem::Platform.local =~ 'x86-mingw32' || Gem::Platform.local =~ 'x64-mingw32'
end
gem 'racc', '~> 1.4.0' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx'
end