We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2fd682 commit 5443606Copy full SHA for 5443606
lib/executable-hooks/regenerate_binstubs_command.rb
@@ -55,7 +55,7 @@ def execute_no_wrapper
55
def try_to_fix_binstubs(spec)
56
executable_paths =
57
spec.executables.map do |executable|
58
- path = expanded_bin_paths.detect{|path| File.exist?(File.join(path, executable)) }
+ path = expanded_bin_paths.detect{|bin_path| File.exist?(File.join(bin_path, executable)) }
59
File.join(path, executable) if path
60
end
61
return false if executable_paths.include?(nil) # not found
0 commit comments