{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/1505","labels_url":"https://api.github.com/repos/capistrano/capistrano/issues/1505/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/capistrano/issues/1505/comments","events_url":"https://api.github.com/repos/capistrano/capistrano/issues/1505/events","html_url":"https://github.com/capistrano/capistrano/issues/1505","id":110054601,"number":1505,"title":"El Capitan Issue??","user":{"login":"QuietOmen","id":9030892,"avatar_url":"https://avatars.githubusercontent.com/u/9030892?v=3","gravatar_id":"","url":"https://api.github.com/users/QuietOmen","html_url":"https://github.com/QuietOmen","followers_url":"https://api.github.com/users/QuietOmen/followers","following_url":"https://api.github.com/users/QuietOmen/following{/other_user}","gists_url":"https://api.github.com/users/QuietOmen/gists{/gist_id}","starred_url":"https://api.github.com/users/QuietOmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuietOmen/subscriptions","organizations_url":"https://api.github.com/users/QuietOmen/orgs","repos_url":"https://api.github.com/users/QuietOmen/repos","events_url":"https://api.github.com/users/QuietOmen/events{/privacy}","received_events_url":"https://api.github.com/users/QuietOmen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-06T17:06:11Z","updated_at":"2015-11-24T08:15:59Z","closed_at":"2015-10-06T19:18:21Z","body":"I upgraded from OS X to El Capitan, and started having some issues with Capistrano. I've been doing some google searching and I haven't been able to discover any solutions. I'm not completely sure this is truly a bug or issue as I know some other employees at my work that have it working on their machines but they don't remember what they did to get it to work. Here's the basic output I'm getting: \r\n\r\n```\r\n10:59 $ bundle install\r\nUsing rake 10.4.2\r\nUsing i18n 0.7.0\r\nUsing colorize 0.7.7\r\nUsing net-ssh 2.9.2\r\nUsing net-scp 1.2.1\r\nUsing sshkit 1.7.1\r\nUsing capistrano 3.4.0\r\nUsing capistrano-composer 0.0.6\r\nUsing capistrano-npm 1.0.1\r\nUsing bundler 1.10.6\r\nBundle complete! 3 Gemfile dependencies, 10 gems now installed.\r\nUse `bundle show [gemname]` to see where a bundled gem is installed.\r\n```\r\n\r\nThen to test to see if cap is working I simply run the following: \r\n\r\n```\r\n10:59 $ bundle exec cap\r\nbundler: command not found: cap\r\nInstall missing gem executables with `bundle install\r\n```\r\n\r\nAny direction or insight would be helpful. Thanks. "},"comment":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/comments/159191663","html_url":"https://github.com/capistrano/capistrano/issues/1505#issuecomment-159191663","issue_url":"https://api.github.com/repos/capistrano/capistrano/issues/1505","id":159191663,"user":{"login":"leehambley","id":18952,"avatar_url":"https://avatars.githubusercontent.com/u/18952?v=3","gravatar_id":"","url":"https://api.github.com/users/leehambley","html_url":"https://github.com/leehambley","followers_url":"https://api.github.com/users/leehambley/followers","following_url":"https://api.github.com/users/leehambley/following{/other_user}","gists_url":"https://api.github.com/users/leehambley/gists{/gist_id}","starred_url":"https://api.github.com/users/leehambley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leehambley/subscriptions","organizations_url":"https://api.github.com/users/leehambley/orgs","repos_url":"https://api.github.com/users/leehambley/repos","events_url":"https://api.github.com/users/leehambley/events{/privacy}","received_events_url":"https://api.github.com/users/leehambley/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T08:15:59Z","updated_at":"2015-11-24T08:15:59Z","body":"    > $ which ruby\r\n    // tumbleweed\r\n\r\ndoesn't look too promising, is that *definitely* your output.\r\n\r\nQuick word about `/usr/` under El Captain they basically write protected it in the kernel, https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md is a decent read to understand the problem.\r\n\r\nSomething occurred to me too, which is that the OSX installers assume that `/usr/local` is virtually empty (it would be, if you weren't a software developer), so I've seen the `5 minutes remaining` progress bar, whilst there have been a few hundred million files in `/usr/local` which needed 5/6 hours to copy, maybe it just gave up at some point and didn't copy most of your gems fully, but enough to let rubygems think they were there?\r\n\r\nIf you can, check the install path with `bundle show ...` and delete everything in that directory (`gem uninstall --all` ?), then you can start afresh with re-insatlling using [`gem pristine capistrano`](http://guides.rubygems.org/command-reference/#gem-pristine). (gem pristine installs gems 100% from scratch, it's like a forced reinstall).\r\n\r\nIf you can, it might be better to use something like `rbenv` and `ruby-installer` (standalone, or as a plugin for the former), these install rubies into your home directory, and also has the pleasant side effect of not requiring sudo to install gems."}}