{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/2880","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/2880/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/2880/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/2880/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/2880","id":27463275,"number":2880,"title":"Error: Failure while executing: git clone [...]","user":{"login":"brunokoga","id":1219990,"avatar_url":"https://avatars.githubusercontent.com/u/1219990?v=3","gravatar_id":"","url":"https://api.github.com/users/brunokoga","html_url":"https://github.com/brunokoga","followers_url":"https://api.github.com/users/brunokoga/followers","following_url":"https://api.github.com/users/brunokoga/following{/other_user}","gists_url":"https://api.github.com/users/brunokoga/gists{/gist_id}","starred_url":"https://api.github.com/users/brunokoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunokoga/subscriptions","organizations_url":"https://api.github.com/users/brunokoga/orgs","repos_url":"https://api.github.com/users/brunokoga/repos","events_url":"https://api.github.com/users/brunokoga/events{/privacy}","received_events_url":"https://api.github.com/users/brunokoga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2014-02-12T19:47:19Z","updated_at":"2015-08-14T16:02:30Z","closed_at":"2015-07-24T14:54:55Z","body":"I'm having an issue installing brew-cask. I have no idea why I'm having this error. I've been using homebrew for a while and have never seen this error before.\r\n\r\n`$ brew tap phinze/cask`\r\nCloning into '/usr/local/Library/Taps/phinze-cask'...\r\nremote: Reusing existing pack: 20740, done.\r\nremote: Counting objects: 21, done.\r\nremote: Compressing objects: 100% (21/21), done.\r\nremote: Total 20761 (delta 10), reused 4 (delta 0)\r\nReceiving objects: 100% (20761/20761), 8.57 MiB | 222.00 KiB/s, done.\r\nResolving deltas: 100% (10964/10964), done.\r\nChecking connectivity... done\r\nTapped 1 formula\r\n\r\n`$ brew install brew-cask`\r\n==> Cloning https://github.com/phinze/homebrew-cask.git\r\n**Error: Failure while executing: git clone --depth 1 --branch v0.28.0 https://github.com/phinze/homebrew-cask.git /Library/Caches/Homebrew/brew-cask--git**"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/131162903","html_url":"https://github.com/caskroom/homebrew-cask/issues/2880#issuecomment-131162903","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/2880","id":131162903,"user":{"login":"jjoos","id":1165788,"avatar_url":"https://avatars.githubusercontent.com/u/1165788?v=3","gravatar_id":"","url":"https://api.github.com/users/jjoos","html_url":"https://github.com/jjoos","followers_url":"https://api.github.com/users/jjoos/followers","following_url":"https://api.github.com/users/jjoos/following{/other_user}","gists_url":"https://api.github.com/users/jjoos/gists{/gist_id}","starred_url":"https://api.github.com/users/jjoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjoos/subscriptions","organizations_url":"https://api.github.com/users/jjoos/orgs","repos_url":"https://api.github.com/users/jjoos/repos","events_url":"https://api.github.com/users/jjoos/events{/privacy}","received_events_url":"https://api.github.com/users/jjoos/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T16:02:30Z","updated_at":"2015-08-14T16:02:30Z","body":"Had a similar issue to @singron my `/usr/bin/ruby` missed an execute bit which resulted in the same error. `sudo chmod +x /usr/bin/ruby`\r\n\r\n@vitorgalvao sorry for not filing a new issue, but wanted to share this with people Google-ing this error and finding this issue. (@singron's comment lead me in the right direction)."}}