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