{"action":"opened","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/14274","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/14274/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/14274/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/14274/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/14274","id":110331732,"number":14274,"title":"Error: library not found for class Digest::SHA2 -- digest/sha2","user":{"login":"taa1","id":492973,"avatar_url":"https://avatars.githubusercontent.com/u/492973?v=3","gravatar_id":"","url":"https://api.github.com/users/taa1","html_url":"https://github.com/taa1","followers_url":"https://api.github.com/users/taa1/followers","following_url":"https://api.github.com/users/taa1/following{/other_user}","gists_url":"https://api.github.com/users/taa1/gists{/gist_id}","starred_url":"https://api.github.com/users/taa1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taa1/subscriptions","organizations_url":"https://api.github.com/users/taa1/orgs","repos_url":"https://api.github.com/users/taa1/repos","events_url":"https://api.github.com/users/taa1/events{/privacy}","received_events_url":"https://api.github.com/users/taa1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T22:32:55Z","updated_at":"2015-10-07T22:32:55Z","closed_at":null,"body":"Help! I broke my cask! :D\r\n\r\nMac OS X 10.7.5 (Lion)\r\nXcode 4.2.1 (I can't update to latest yet because it might break an open source package I help maintain)\r\n\r\nPreliminary bug report info I believe you [need](https://github.com/caskroom/homebrew-cask/blob/master/README.md#reporting-bugs):\r\n\r\n~~~~\r\n$ brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup\r\nAlready up-to-date.\r\nError: caskroom/cask/brew-cask 0.57.0 already installed\r\n~~~~\r\n\r\n~~~~\r\n$ brew doctor\r\n(stripped '... please don't worry...' warning)\r\nWarning: Your Xcode (4.2.1) is outdated\r\nPlease update to Xcode 4.6.3.\r\nXcode can be updated from\r\n  https://developer.apple.com/xcode/downloads/\r\n$ \r\n~~~~\r\n\r\nHERE'S THE INFO ON THE ISSUE I'M REPORTING\r\n\r\n~~~~\r\n$ brew cask install python3 --verbose\r\n==> Downloading https://www.python.org/ftp/python/3.5.0/python-3.5.0-macosx10.6.pkg\r\nAlready downloaded: /Library/Caches/Homebrew/python3-3.5.0.pkg\r\nError: library not found for class Digest::SHA2 -- digest/sha2\r\n\r\n  Most likely, this means you have an outdated version of homebrew-cask. Please run:\r\n\r\n      brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup\r\n\r\n  If this doesn’t fix the problem, please report this bug:\r\n\r\n      https://github.com/caskroom/homebrew-cask/issues\r\n\r\n/usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/digest.rb:15:in `const_missing'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/verify.rb:14:in `checksum'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/download.rb:33:in `perform'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/installer.rb:89:in `download'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/installer.rb:63:in `install'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/cli/install.rb:20:in `block in install_casks'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/cli/install.rb:17:in `each'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/cli/install.rb:17:in `install_casks'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/cli/install.rb:6:in `run'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/cli.rb:79:in `run_command'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/hbc/cli.rb:119:in `process'\r\n/usr/local/Cellar/brew-cask/0.57.0/rubylib/brew-cask-cmd.rb:19:in `<main>'\r\n~~~~\r\n\r\n"}}