{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/50125","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50125/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50125/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50125/events","html_url":"https://github.com/Homebrew/homebrew/issues/50125","id":140988068,"number":50125,"title":"undefined method 'new' for Patch:Module","user":{"login":"CarbonCycles","id":6529180,"avatar_url":"https://avatars.githubusercontent.com/u/6529180?v=3","gravatar_id":"","url":"https://api.github.com/users/CarbonCycles","html_url":"https://github.com/CarbonCycles","followers_url":"https://api.github.com/users/CarbonCycles/followers","following_url":"https://api.github.com/users/CarbonCycles/following{/other_user}","gists_url":"https://api.github.com/users/CarbonCycles/gists{/gist_id}","starred_url":"https://api.github.com/users/CarbonCycles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarbonCycles/subscriptions","organizations_url":"https://api.github.com/users/CarbonCycles/orgs","repos_url":"https://api.github.com/users/CarbonCycles/repos","events_url":"https://api.github.com/users/CarbonCycles/events{/privacy}","received_events_url":"https://api.github.com/users/CarbonCycles/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-15T14:24:02Z","updated_at":"2016-03-17T15:19:13Z","closed_at":"2016-03-15T15:05:19Z","body":"# Please follow the general troubleshooting steps first:\r\n\r\n- [ x] Ran `brew update` and retried your prior step?\r\n- [ x] Ran `brew doctor`, fixed as many issues as possible and retried your prior step?\r\n- [ x] If you're seeing permission errors tried running `sudo chown -R $(whoami) $(brew --prefix)`?\r\n\r\nRunning on OSX - El Capitan (10.11.3)\r\n### Bug reports:\r\nChecking out files: 100% (3726/3726), done.\r\nError: undefined method `new' for Patch:Module\r\nPlease report this bug:\r\n    https://git.io/brew-troubleshooting\r\n/usr/local/Library/Homebrew/patch.rb:115:in `initialize'\r\n/usr/local/Library/Homebrew/patch.rb:18:in `new'\r\n/usr/local/Library/Homebrew/patch.rb:18:in `create'\r\n/usr/local/Library/Homebrew/software_spec.rb:168:in `patch'\r\n/usr/local/Library/Homebrew/formula.rb:1919:in `block in patch'\r\n/usr/local/Library/Homebrew/formula.rb:1919:in `each'\r\n/usr/local/Library/Homebrew/formula.rb:1919:in `patch'\r\n/usr/local/Library/Formula/a2ps.rb:19:in `<class:A2ps>'\r\n/usr/local/Library/Formula/a2ps.rb:1:in `load_formula'\r\n/usr/local/Library/Homebrew/formulary.rb:21:in `module_eval'\r\n/usr/local/Library/Homebrew/formulary.rb:21:in `load_formula'\r\n/usr/local/Library/Homebrew/formulary.rb:34:in `load_formula_from_path'\r\n/usr/local/Library/Homebrew/formulary.rb:83:in `load_file'\r\n/usr/local/Library/Homebrew/formulary.rb:74:in `klass'\r\n/usr/local/Library/Homebrew/formulary.rb:70:in `get_formula'\r\n/usr/local/Library/Homebrew/formulary.rb:207:in `factory'\r\n/usr/local/Library/Homebrew/cmd/update.rb:204:in `block in report'\r\n/usr/local/Library/Homebrew/cmd/update.rb:190:in `each_line'\r\n/usr/local/Library/Homebrew/cmd/update.rb:190:in `report'\r\n/usr/local/Library/Homebrew/cmd/update.rb:24:in `update'\r\n/usr/local/Library/brew.rb:124:in `<main>'\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/197928732","html_url":"https://github.com/Homebrew/homebrew/issues/50125#issuecomment-197928732","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50125","id":197928732,"user":{"login":"dannybtran","id":100432,"avatar_url":"https://avatars.githubusercontent.com/u/100432?v=3","gravatar_id":"","url":"https://api.github.com/users/dannybtran","html_url":"https://github.com/dannybtran","followers_url":"https://api.github.com/users/dannybtran/followers","following_url":"https://api.github.com/users/dannybtran/following{/other_user}","gists_url":"https://api.github.com/users/dannybtran/gists{/gist_id}","starred_url":"https://api.github.com/users/dannybtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannybtran/subscriptions","organizations_url":"https://api.github.com/users/dannybtran/orgs","repos_url":"https://api.github.com/users/dannybtran/repos","events_url":"https://api.github.com/users/dannybtran/events{/privacy}","received_events_url":"https://api.github.com/users/dannybtran/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T15:19:13Z","updated_at":"2016-03-17T15:19:13Z","body":"Also worked for me. Thank you!"}}