From 35fc437ea34d63aab5611e83c904bc703d7b9a91 Mon Sep 17 00:00:00 2001 From: BoHung Chiu Date: Mon, 25 Sep 2023 13:45:40 +0800 Subject: [PATCH] Fix tiny_tds install failed. --- sync_nccu_personal_data.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_nccu_personal_data.gemspec b/sync_nccu_personal_data.gemspec index 5e29e12..daa6bc4 100644 --- a/sync_nccu_personal_data.gemspec +++ b/sync_nccu_personal_data.gemspec @@ -20,7 +20,7 @@ if bundle_update_flag end end home_path = ENV['HOME'] - if Dir.glob("#{ENV["GEM_HOME"]}/gems/tiny_tds-*").count == 0 + if Dir.glob("#{ENV["GEM_HOME"]}/gems/tiny_tds-*").count == 0 || Dir.glob("#{ENV["GEM_HOME"]}/extensions/*/*/tiny_tds-*/tiny_tds/*").count == 0 app_path = File.expand_path(__dir__) if home_path.nil? || home_path == "" home_path = app_path