{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4576","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4576/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4576/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4576/events","html_url":"https://github.com/bundler/bundler/issues/4576","id":154759613,"number":4576,"title":"Gem::Exception: can't find executable","user":{"login":"envygeeks","id":99763,"avatar_url":"https://avatars.githubusercontent.com/u/99763?v=3","gravatar_id":"","url":"https://api.github.com/users/envygeeks","html_url":"https://github.com/envygeeks","followers_url":"https://api.github.com/users/envygeeks/followers","following_url":"https://api.github.com/users/envygeeks/following{/other_user}","gists_url":"https://api.github.com/users/envygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/envygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envygeeks/subscriptions","organizations_url":"https://api.github.com/users/envygeeks/orgs","repos_url":"https://api.github.com/users/envygeeks/repos","events_url":"https://api.github.com/users/envygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/envygeeks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-13T17:13:07Z","updated_at":"2016-05-20T03:57:29Z","closed_at":null,"body":"```\r\n/var/lib/gems/2.3.0/gems/bundler-1.12.3/lib/bundler/rubygems_integration.rb:373:in `block in replace_bin_path': can't find executable bundle (Gem::Exception)\r\n\tfrom /usr/local/lib/site_ruby/2.3.0/rubygems.rb:278:in `activate_bin_path'\r\n\tfrom /usr/local/bin/bundle:22:in `<main>'\r\n```\r\n\r\nEven `Gem.bin_path(\"bundle\")` raises the same error."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/220511712","html_url":"https://github.com/bundler/bundler/issues/4576#issuecomment-220511712","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4576","id":220511712,"user":{"login":"envygeeks","id":99763,"avatar_url":"https://avatars.githubusercontent.com/u/99763?v=3","gravatar_id":"","url":"https://api.github.com/users/envygeeks","html_url":"https://github.com/envygeeks","followers_url":"https://api.github.com/users/envygeeks/followers","following_url":"https://api.github.com/users/envygeeks/following{/other_user}","gists_url":"https://api.github.com/users/envygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/envygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envygeeks/subscriptions","organizations_url":"https://api.github.com/users/envygeeks/orgs","repos_url":"https://api.github.com/users/envygeeks/repos","events_url":"https://api.github.com/users/envygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/envygeeks/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T03:57:29Z","updated_at":"2016-05-20T03:57:29Z","body":"The problem lies when Bundler adjusts the bin path, for some reason it's not finding the right Gem, for us we fixed it within a few of our scripts that couldn't be downgraded by replacing the path with BUNDLE_ORIG_PATH which fixes the issue with getting to system gems (which wasn't a problem before.)\r\n\r\nI also noticed that even though `BUNDLE_DISABLE_SHARED_GEMS: true` it still only adds the bundle path rather than all the paths and the bundle path first, which is where this problem lies, we no longer have any path but bundler's path."}}
{"actor":{"display_login":"envygeeks"}}