The man page for make.conf(5) states: http_proxy ftp_proxy = [host:port] These vars are used if the sources must be downloaded from the internet by wget(1). They are only required if you use a proxy server for internet access. This breaks rubygems, which requires the http_proxy variable to be a URI, i.e. a [protocol://host:port] format. Reference bug #238061
Mentioning syntax needed for gem in make.conf manpage might help ruby enthusiasts do it right from the start, but some people would not think to look there when a gem install fails. Maybe gem eclass should check http_proxy for proper syntax if the variable is set?
(In reply to comment #0) > The man page for make.conf(5) states: > > http_proxy ftp_proxy = [host:port] > These vars are used if the sources must be downloaded from the > internet by wget(1). They are only required if you use a proxy > server for internet access. > > This breaks rubygems, which requires the http_proxy variable to be a URI, i.e. > a [protocol://host:port] format. Thanks, I've updated the make.conf(5) man page in svn r11520.
The make.conf(5) man page is updated in portage-2.2_rc9.
We will most likely fix this in rubygems in bug #238061, so that URI's without a scheme won't break rubygems. Closing this bug as for now the man page includes the comment.