From bbfd17689bfe3b94550edecd99584b66de4dfa93 Mon Sep 17 00:00:00 2001 From: Eric Guo Date: Sat, 12 Sep 2015 22:04:31 +0800 Subject: Ruby 2.2.3 in windows need nokogiri 1.6.7.rc3 as it's the only version having correct pre-compiled so --- Gemfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index bbff1d9b42..e18780ab2a 100644 --- a/Gemfile +++ b/Gemfile @@ -79,7 +79,13 @@ group :test do end platforms :ruby do - gem 'nokogiri', '>= 1.4.5' + if Bundler::WINDOWS + # Windows does not include zoneinfo files, so bundle the tzinfo-data gem + gem 'tzinfo-data' + gem 'nokogiri', '>= 1.6.7.rc3' + else + gem 'nokogiri', '>= 1.4.5' + end # Needed for compiling the ActionDispatch::Journey parser gem 'racc', '>=1.4.6', require: false -- cgit v1.2.3