diff options
| author | Jack Nagel | 2014-06-09 14:54:49 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-09 14:57:21 -0500 |
| commit | 562480ff147505243e3265b8027e98d764babc74 (patch) | |
| tree | f8ed180cbe0fec3c525fb881172ee1a9ed1bc5e1 /Library/Formula | |
| parent | fa0c13874a38ebbb84a56d7aa8ed6d1674935968 (diff) | |
| download | homebrew-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.rb | 2 |
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 |
