{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/6179","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/6179/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/6179/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/6179/events","html_url":"https://github.com/bundler/bundler/issues/6179","id":275408751,"number":6179,"title":"Cannot retrieve gem in Git repo behing a proxy (Windows)","user":{"login":"abelsromero","id":5781153,"avatar_url":"https://avatars1.githubusercontent.com/u/5781153?v=4","gravatar_id":"","url":"https://api.github.com/users/abelsromero","html_url":"https://github.com/abelsromero","followers_url":"https://api.github.com/users/abelsromero/followers","following_url":"https://api.github.com/users/abelsromero/following{/other_user}","gists_url":"https://api.github.com/users/abelsromero/gists{/gist_id}","starred_url":"https://api.github.com/users/abelsromero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelsromero/subscriptions","organizations_url":"https://api.github.com/users/abelsromero/orgs","repos_url":"https://api.github.com/users/abelsromero/repos","events_url":"https://api.github.com/users/abelsromero/events{/privacy}","received_events_url":"https://api.github.com/users/abelsromero/received_events","type":"User","site_admin":false},"labels":[{"id":210390812,"url":"https://api.github.com/repos/bundler/bundler/labels/status:%20user%20feedback%20required","name":"status: user feedback required","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-20T16:07:08Z","updated_at":"2017-12-13T16:34:44Z","closed_at":null,"author_association":"NONE","body":"While Git, gem and budler work fine with the respective proxy configurations, the combination of a gem inside Git does not.\r\n\r\nFor instance, bundle fails trying to get a gem configured like this in the `Gemfile`.\r\n```\r\ngem 'middleman-asciidoc', github: 'middleman/middleman-asciidoc'\r\n```\r\nwith the message\r\n```\r\nFetching git://github.com/mojavelinux/middleman-asciidoc.git\r\nfatal: unable to connect to github.com:\r\ngithub.com[0: 192.30.253.112]: errno=No error\r\ngithub.com[1: 192.30.253.113]: errno=No error\r\n\r\n\r\nRetrying `git clone \"git://github.com/mojavelinux/middleman-asciidoc.git\" \"C:/Users/-----/temp/opendevise.com/.bundle/gems/ruby/2.4.0/cache/bundler/git/middleman-asciidoc-06371e761af99724\r\ne844b0866ee318f0b1b53785\" --bare --no-hardlinks --quiet` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git clone \"git://github.com/mojavelinux/middleman-ascii\r\ndoc.git\" \"C:/Users/-----/temp/opendevise.com/.bundle/gems/ruby/2.4.0/cache/bundler/git/middleman-asciidoc-06371e761af99724e844b0866ee318f0b1b53785\" --bare --no-hardlinks --quiet` in direc\r\ntory C:/Users/-----/temp/opendevise.com has failed.fatal: unable to connect to github.com:\r\ngithub.com[0: 192.30.253.113]: errno=No error\r\ngithub.com[1: 192.30.253.112]: errno=No error\r\n```\r\nIf I remove the line, the rest of the gems are download and installed perfectly.\r\n\r\nThis is a work computer, for Git I have the proxy configuration insige `.gitconfig` in my %HOMEDRIVE% path, which happens to be a separated unit (\"H:\")."},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/351446285","html_url":"https://github.com/bundler/bundler/issues/6179#issuecomment-351446285","issue_url":"https://api.github.com/repos/bundler/bundler/issues/6179","id":351446285,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars1.githubusercontent.com/u/1946610?v=4","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2017-12-13T16:34:44Z","updated_at":"2017-12-13T16:34:44Z","author_association":"OWNER","body":"Can you try running the following command (and seeing if it passes)?\r\n\r\n```\r\nruby -e 'puts `git clone \"git://github.com/mojavelinux/middleman-asciidoc.git\"`; puts $?.success? ? :success : :failure'\r\n```"}}
{"actor":{"display_login":"segiddins"}}