We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa591f commit 3183e8bCopy full SHA for 3183e8b
ext/tiny_tds/extconf.rb
@@ -151,6 +151,17 @@ def extract_file(file, target)
151
end
152
153
154
+ def execute
155
+ prev_path = ENV['PATH']
156
+ git_perl = 'C:/Program Files/Git/usr/bin'
157
+ if File.directory?(git_perl)
158
+ ENV['PATH'] = git_perl + ';' + ENV['PATH']
159
+ ENV['PERL'] = 'perl'
160
+ end
161
+ super
162
+ ENV['PATH'] = prev_path
163
164
+
165
def configure
166
config = if host=~/mingw/
167
host=~/x86_64/ ? 'mingw64' : 'mingw'
0 commit comments