Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

get the bindir from the spec when building a gem

  • Loading branch information...
commit f42f8e31fddfe7807f12f38640d115cfc6055220 1 parent 3431d6d
@hone hone authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/support/builders.rb
View
2  spec/support/builders.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.