buildRubyGem: fix NoMethodError

generate_stub doesn't exist and the output is not used in the code so I just
removed the line.

This was preventing the binstubs from generating properly.
This commit is contained in:
zimbatm 2016-01-24 19:00:50 +00:00
parent 77f8f35d57
commit 9a55295c49

View File

@ -107,7 +107,6 @@ if spec.executables.any?
spec.executables.each do |exe| spec.executables.each do |exe|
wrapper = File.join(bin_dir, exe) wrapper = File.join(bin_dir, exe)
File.open(wrapper, "w") do |f| File.open(wrapper, "w") do |f|
stub = generate_stub(spec.name, exe)
f.write(<<-EOF) f.write(<<-EOF)
#!#{ruby} #!#{ruby}
# #