Currently the http-proxy setting is implemented via the set_proxy wrapper which returns a commandline with "env http_proxy={}" filled with the config value of http-proxy. Unfortunately, the default value for ruby-mirror is an https site and this does not in fact work. Ruby will repeatedly fail to download without any error message at all:
2017-10-18 01:29:58 INFO juju-log Problem downlading Ruby: []
^^ Like so. Ideally the set_proxy call should set both the http_proxy and https_proxy variables, alternatively the ruby mirror default could be set to the http version of cache.ruby-lang.org with a note in the config descriptions for both ruby-mirror and http-proxy config items that only http sites will work with the proxy.
Currently the http-proxy setting is implemented via the set_proxy wrapper which returns a commandline with "env http_proxy={}" filled with the config value of http-proxy. Unfortunately, the default value for ruby-mirror is an https site and this does not in fact work. Ruby will repeatedly fail to download without any error message at all:
2017-10-18 01:29:58 INFO juju-log Problem downlading Ruby: []
^^ Like so. Ideally the set_proxy call should set both the http_proxy and https_proxy variables, alternatively the ruby mirror default could be set to the http version of cache.ruby-lang.org with a note in the config descriptions for both ruby-mirror and http-proxy config items that only http sites will work with the proxy.