Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Dec 20, 2017
1 parent 1be5200 commit 7bfaab8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ext/mkrf_conf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
inst = Gem::DependencyInstaller.new

begin
puts '----------------'
puts RbConfig::CONFIG['host_os']
puts '----------------'
if RbConfig::CONFIG['host_os'] =~ %r{mswin|msys|mingw32}i
inst.install 'ffi', "~> 1.0", ">= 1.0.11"
end
Expand All @@ -21,4 +24,4 @@
# create dummy rakefile to indicate success
File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') do |f|
f.write("task :default\n")
end
end

0 comments on commit 7bfaab8

Please sign in to comment.