Fix FREETDS_DIR not set when bundle update.
This commit is contained in:
parent
773cea0cc5
commit
2c114af819
|
@ -20,6 +20,7 @@ if bundle_update_flag
|
|||
end
|
||||
end
|
||||
home_path = ENV['HOME']
|
||||
ENV['FREETDS_DIR'] = "#{home_path}/freetds-1.1.24_build"
|
||||
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 == ""
|
||||
|
|
Loading…
Reference in New Issue