aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-01-04 14:17:14 +0000
committerAndrew White <andrew.white@unboxed.co>2017-01-04 14:17:14 +0000
commitc424a07c0c20732d85512fb499c5273510ffa99d (patch)
tree292cb186322558ef37531267e25a074ea24a981b
parent14edc0ad2a9b8655d390c71e9c6e03819a2bb7af (diff)
downloadrails-c424a07c0c20732d85512fb499c5273510ffa99d.tar.gz
rails-c424a07c0c20732d85512fb499c5273510ffa99d.tar.bz2
rails-c424a07c0c20732d85512fb499c5273510ffa99d.zip
Restrict nokogiri on Ruby 2.0
The recent 1.7.0 release of nokogiri dropped support for unsupported rubies.
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 41a10f6f77..3d0e3b442c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -79,6 +79,8 @@ platforms :ruby do
if RUBY_VERSION < '1.9.3'
gem 'nokogiri', '>= 1.4.5', '< 1.6'
+ elsif RUBY_VERSION < '2.1.0'
+ gem 'nokogiri', '>= 1.6.0', '< 1.7'
else
gem 'nokogiri', '>= 1.6.0'
end