From a0b31d0cfc84421bd26c107ced550089d1f84255 Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 4 Aug 2022 07:29:25 +0000 Subject: [PATCH] fix error --- patchfile.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchfile.gemspec b/patchfile.gemspec index bb2dcb0..819d5f5 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -77,7 +77,7 @@ if bundle_update_flag rescue ScriptError => e system('gem install nokogiri -v 1.7.0.1') gem_home = ENV["GEM_HOME"] - if !gem_home.blank? + if !gem_home.nil? $LOAD_PATH << "#{gem_home}/gems/nokogiri-1.7.0.1/lib" $LOAD_PATH << "#{gem_home}/extensions/#{RUBY_PLATFORM}/#{RUBY_VERSION}/nokogiri-1.7.0.1" require 'nokogiri'