{"action":"opened","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/41819","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/41819/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/41819/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/41819/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/41819","id":280927898,"number":41819,"title":"`brew cask` with no arguments results in \"wrong number of arguments\"","user":{"login":"happycoloredbanana","id":16704632,"avatar_url":"https://avatars3.githubusercontent.com/u/16704632?v=4","gravatar_id":"","url":"https://api.github.com/users/happycoloredbanana","html_url":"https://github.com/happycoloredbanana","followers_url":"https://api.github.com/users/happycoloredbanana/followers","following_url":"https://api.github.com/users/happycoloredbanana/following{/other_user}","gists_url":"https://api.github.com/users/happycoloredbanana/gists{/gist_id}","starred_url":"https://api.github.com/users/happycoloredbanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happycoloredbanana/subscriptions","organizations_url":"https://api.github.com/users/happycoloredbanana/orgs","repos_url":"https://api.github.com/users/happycoloredbanana/repos","events_url":"https://api.github.com/users/happycoloredbanana/events{/privacy}","received_events_url":"https://api.github.com/users/happycoloredbanana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-11T08:12:35Z","updated_at":"2017-12-11T08:12:35Z","closed_at":null,"author_association":"NONE","body":"#### General troubleshooting steps\r\n\r\n- [x] I have retried my command with `--force` and the issue is still present.\r\n- [x] I have checked the instructions for [reporting bugs](https://github.com/caskroom/homebrew-cask#reporting-bugs) (or [making requests](https://github.com/caskroom/homebrew-cask#requests)) before opening the issue.\r\n  - [x] None of the templates was appropriate for my issue, or I’m not sure.\r\n- [x] I ran `brew update-reset && brew update` and retried my command.\r\n- [x] I ran `brew doctor`, fixed as many issues as possible and retried my command.\r\n- [x] I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/caskroom/homebrew-cask/blob/master/doc/faq/closing_issues_without_review.md).\r\n\r\n#### Description of issue\r\n\r\nAfter `brew update`, running `brew cask` with no arguments (usually showing the list of cask commands) results in \"Error: wrong number of arguments (given 2, expected 1)\". Otherwise, cask seems to be working, e.g., `brew cask ls` or `brew cask info` run without any problem.\r\n\r\n#### Output of your command with `--verbose --debug`\r\n\r\n```\r\nError: wrong number of arguments (given 2, expected 1)\r\n/usr/local/Homebrew/Library/Homebrew/utils.rb:18:in `require?'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:99:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'\r\nError: Kernel.exit\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'\r\n```\r\n\r\n#### Output of `brew cask doctor`\r\n\r\n```\r\n==> Homebrew-Cask Version\r\nHomebrew-Cask 1.3.9-46-g837ea74\r\ncaskroom/homebrew-cask (git revision 2a573; last commit 2017-12-11)\r\n==> macOS\r\n10.13.2\r\n==> Java\r\n1.8.0_152\r\n==> Homebrew-Cask Install Location\r\n<NONE>\r\n==> Homebrew-Cask Staging Location\r\n/usr/local/Caskroom\r\n==> Homebrew-Cask Cached Downloads\r\n~/Library/Caches/Homebrew/Cask (15 files, 1GB)\r\n==> Homebrew-Cask Taps:\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3856 casks)\r\n==> Contents of $LOAD_PATH\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib\r\n/usr/local/Homebrew/Library/Homebrew\r\n/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib\r\n/Library/Ruby/Site/2.3.0\r\n/Library/Ruby/Site/2.3.0/x86_64-darwin17\r\n/Library/Ruby/Site/2.3.0/universal-darwin17\r\n/Library/Ruby/Site\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin17\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin17\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin17\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17\r\n==> Environment Variables\r\nLC_ALL=\"en_US.UTF-8\"\r\nPATH=\"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm\"\r\nSHELL=\"/bin/bash\"\r\n```\r\n"}}
{"actor":{"display_login":"happycoloredbanana"}}