aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-06-09 14:54:49 -0500
committerJack Nagel2014-06-09 14:57:21 -0500
commit562480ff147505243e3265b8027e98d764babc74 (patch)
treef8ed180cbe0fec3c525fb881172ee1a9ed1bc5e1 /Library/Formula
parentfa0c13874a38ebbb84a56d7aa8ed6d1674935968 (diff)
downloadhomebrew-562480ff147505243e3265b8027e98d764babc74.tar.bz2
Stop joining symbols to pathnames
Ruby 2.2's native Pathname#/ accepts only string-like objects.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 41518b708..83b64a3fc 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -110,7 +110,7 @@ class Nginx < Formula
# and Homebrew used to suggest the user copy the plist for nginx to their
# ~/Library/LaunchAgents directory. So we need to have a symlink there
# for such cases
- if rack.subdirs.any? { |d| (d/:sbin).directory? }
+ if rack.subdirs.any? { |d| d.join("sbin").directory? }
sbin.install_symlink bin/"nginx"
end
end