3
0
Fork 0
forked from mirrors/nixpkgs

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|
wrapper = File.join(bin_dir, exe)
File.open(wrapper, "w") do |f|
stub = generate_stub(spec.name, exe)
f.write(<<-EOF)
#!#{ruby}
#