gem_extconf.rb in ruby-vpi-15.0.1 vs gem_extconf.rb in ruby-vpi-15.0.2
- old
+ new
@@ -1,8 +1,12 @@
## This file is invoked by RubyGems to build the extension.
require 'fileutils'
system('rake build gem_config_inst') &&
-FileUtils.touch('Makefile')
+
+# create dummy makefile to appease RubyGems
+ File.open('Makefile', 'w') do |f|
+ f << %w[all install clean].map {|a| "#{a}:\n"}
+ end
exit $?.exitstatus