fix error
This commit is contained in:
parent
95e8f116ac
commit
a0b31d0cfc
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue