phinze/homebrew-cask — pull request #2653 by cmclaughlin (2014-01-27 05:52:46+00:00)
Title: Adding a cask for Logitech Harmony

I could use some help with this. It sort of works:

$ brew cask install logitech-harmony --force
==> Downloading http://logitech-sjca.navisite.net/web/ftp/pub/techsupport/harmony/LogitechHarmonyRemoteSoftware7.8.1-OSX.dmg
Already downloaded: /Library/Caches/Homebrew/logitech-harmony-7.8.1.dmg
==> Running installer for logitech-harmony; your password may be necessary.
Password:
==> installer: Package name is Logitech Remote Software
==> installer: Upgrading at base path /
==> installer: The upgrade was successful.
==> Success! logitech-harmony installed to /opt/homebrew-cask/Caskroom/logitech-harmony/7.8.1

However, it's installed into /Applications instead of ~/Applications like my other casks:

$ ls /Applications/Logitech\ Harmony\ Remote\ Software.app/
Contents

And the uninstall explodes:

$ brew cask uninstall logitech-harmony
Error: undefined method `keys' for "Uninstall Logitech Harmony Remote Software.app":String
Please report this bug:
https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/artifact/pkg.rb:26:in `manually_uninstall'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/artifact/pkg.rb:11:in `uninstall'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:195:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:195:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/set.rb:195:in `each'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/artifact/pkg.rb:11:in `uninstall'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/installer.rb:64:in `uninstall_artifacts'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/installer.rb:63:in `each'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/installer.rb:63:in `uninstall_artifacts'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/installer.rb:57:in `uninstall'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/cli/uninstall.rb:8:in `run'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/cli/uninstall.rb:5:in `each'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/cli/uninstall.rb:5:in `run'
/usr/local/Cellar/brew-cask/0.25.0/rubylib/cask/cli.rb:35:in `process'
/usr/local/bin/brew-cask.rb:6
/usr/local/Library/brew.rb:67:in `require'
/usr/local/Library/brew.rb:67:in `require?'
/usr/local/Library/brew.rb:113

Thanks,
Charles