{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/4402","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/4402/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/4402/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/4402/events","html_url":"https://github.com/bundler/bundler/issues/4402","id":143758675,"number":4402,"title":"Double exec failure under weird circumstances","user":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"labels":[{"id":210391229,"url":"https://api.github.com/repos/bundler/bundler/labels/type:%20bug%20report","name":"type: bug report","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"chrismo","id":8092,"avatar_url":"https://avatars.githubusercontent.com/u/8092?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismo","html_url":"https://github.com/chrismo","followers_url":"https://api.github.com/users/chrismo/followers","following_url":"https://api.github.com/users/chrismo/following{/other_user}","gists_url":"https://api.github.com/users/chrismo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismo/subscriptions","organizations_url":"https://api.github.com/users/chrismo/orgs","repos_url":"https://api.github.com/users/chrismo/repos","events_url":"https://api.github.com/users/chrismo/events{/privacy}","received_events_url":"https://api.github.com/users/chrismo/received_events","type":"User","site_admin":false},"assignees":[{"login":"chrismo","id":8092,"avatar_url":"https://avatars.githubusercontent.com/u/8092?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismo","html_url":"https://github.com/chrismo","followers_url":"https://api.github.com/users/chrismo/followers","following_url":"https://api.github.com/users/chrismo/following{/other_user}","gists_url":"https://api.github.com/users/chrismo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismo/subscriptions","organizations_url":"https://api.github.com/users/chrismo/orgs","repos_url":"https://api.github.com/users/chrismo/repos","events_url":"https://api.github.com/users/chrismo/events{/privacy}","received_events_url":"https://api.github.com/users/chrismo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":25,"created_at":"2016-03-26T23:20:21Z","updated_at":"2016-11-22T19:15:55Z","closed_at":null,"body":"With latest RubyGems (2.6.2) and Bundler (1.11.2) and installing with `bundle install --path`, you can't use `bundle exec` inside itself.\n\nMy minimal repro case:\n\n```\n$ docker run -it ubuntu:15.10 bash\n# apt-get install -y ruby\n# gem update --system\n# gem install bundler\n# cd /tmp\n# echo \"source 'https://rubygems.org/'\" >Gemfile\n# bundle install --path=vendor\n# bundle exec bundle exec ruby --version\n/usr/local/bin/bundle:22:in `load': cannot load such file -- /var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/gems/bundler-1.11.2/bin/bundle (LoadError)\n    from /usr/local/bin/bundle:22:in `<main>'\n```\n\nUsing anything other than the latest RubyGems or Bundler seems to not trigger it, and ditto leaving off the `--path`. The repeated `gems/bundler-1.11.2` ending up in the path is probably the issue in the end, but I'm having trouble figuring out what is causing that.\n"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/262336901","html_url":"https://github.com/bundler/bundler/issues/4402#issuecomment-262336901","issue_url":"https://api.github.com/repos/bundler/bundler/issues/4402","id":262336901,"user":{"login":"janahue","id":6550132,"avatar_url":"https://avatars.githubusercontent.com/u/6550132?v=3","gravatar_id":"","url":"https://api.github.com/users/janahue","html_url":"https://github.com/janahue","followers_url":"https://api.github.com/users/janahue/followers","following_url":"https://api.github.com/users/janahue/following{/other_user}","gists_url":"https://api.github.com/users/janahue/gists{/gist_id}","starred_url":"https://api.github.com/users/janahue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janahue/subscriptions","organizations_url":"https://api.github.com/users/janahue/orgs","repos_url":"https://api.github.com/users/janahue/repos","events_url":"https://api.github.com/users/janahue/events{/privacy}","received_events_url":"https://api.github.com/users/janahue/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T19:15:55Z","updated_at":"2016-11-22T19:15:55Z","body":"@chrismo Yeah, both reference the mysql gem:\r\n\r\n`Gemfile` includes\r\n\r\n```\r\ngroup :development, :test do\r\n  gem 'mysql'\r\n```\r\n\r\n`Gemfile.lock` includes\r\n\r\n```\r\nmysql (2.9.1)\r\n```"}}
{"actor":{"display_login":"janahue"}}