Fix tiny_tds install failed.
This commit is contained in:
parent
e2a4a71815
commit
35fc437ea3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue