summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-01-24 19:00:50 +0000
committerzimbatm <zimbatm@zimbatm.com>2016-01-24 23:14:00 +0000
commit9a55295c49588031ba466a4a851c77fee03ba42e (patch)
treeb346321d48ca02623083100784cf6010be5983ca
parentgoPackages: comment on kagome about no parallel build (diff)
downloadnixpkgs-9a55295c49588031ba466a4a851c77fee03ba42e.tar.gz
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.
-rw-r--r--pkgs/development/interpreters/ruby/build-ruby-gem/nix-bundle-install.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/ruby/build-ruby-gem/nix-bundle-install.rb b/pkgs/development/interpreters/ruby/build-ruby-gem/nix-bundle-install.rb
index 647b83b52c38..48ab5270c22f 100644
--- a/pkgs/development/interpreters/ruby/build-ruby-gem/nix-bundle-install.rb
+++ b/pkgs/development/interpreters/ruby/build-ruby-gem/nix-bundle-install.rb
@@ -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}
#