Permalink
Browse files

get the bindir from the spec when building a gem

  • Loading branch information...
1 parent 3431d6d commit f42f8e31fddfe7807f12f38640d115cfc6055220 @hone hone committed Nov 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/support/builders.rb
View
@@ -421,7 +421,7 @@ def write(file, source = "")
def executables=(val)
Array(val).each do |file|
- write "bin/#{file}", "require '#{@name}' ; puts #{@name.upcase}"
+ write "#{@spec.bindir}/#{file}", "require '#{@name}' ; puts #{@name.upcase}"
end
@spec.executables = Array(val)
end

0 comments on commit f42f8e3

Please sign in to comment.