PR for allowing gem repo configuration in Ruby buildpack


Jack Cai
 

Can someone merge this PR: [1]? It provides useful features to allow
operators to set a global gem repo mirror (via environment variable group)
where the default repo is slow to reach. Thanks!!

Jack


[1] https://github.com/cloudfoundry/ruby-buildpack/pull/47


Evan Farrar <evanfarrar@...>
 

Could using a custom gem mirror be achieved by caching the dependencies
before push? Operating in a "airgapped" or "Disconnected environment" and
operating in a "whitelist firewall environment" often require similar
approaches, so following the advice for disconnected environments might
help:

https://github.com/cloudfoundry/buildpack-packager/blob/master/doc/disconnected_environments.md

On Tue, Feb 2, 2016 at 11:22 AM, Jack Cai <greensight(a)gmail.com> wrote:

Can someone merge this PR: [1]? It provides useful features to allow
operators to set a global gem repo mirror (via environment variable group)
where the default repo is slow to reach. Thanks!!

Jack


[1] https://github.com/cloudfoundry/ruby-buildpack/pull/47


Jack Cai
 

Yes that should work too, but it's still nice to be able to install the
gems during staging.

Jack

On Tue, Feb 2, 2016 at 2:33 PM, Evan Farrar <evanfarrar(a)gmail.com> wrote:

Could using a custom gem mirror be achieved by caching the dependencies
before push? Operating in a "airgapped" or "Disconnected environment" and
operating in a "whitelist firewall environment" often require similar
approaches, so following the advice for disconnected environments might
help:


https://github.com/cloudfoundry/buildpack-packager/blob/master/doc/disconnected_environments.md

On Tue, Feb 2, 2016 at 11:22 AM, Jack Cai <greensight(a)gmail.com> wrote:

Can someone merge this PR: [1]? It provides useful features to allow
operators to set a global gem repo mirror (via environment variable group)
where the default repo is slow to reach. Thanks!!

Jack


[1] https://github.com/cloudfoundry/ruby-buildpack/pull/47


Danny Rosen
 

Hey Jack,
Thanks for putting the putting the pull request in. We'll review it shortly
and get back to you on the thread.

On Tue, Feb 2, 2016 at 2:35 PM, Jack Cai <greensight(a)gmail.com> wrote:

Yes that should work too, but it's still nice to be able to install the
gems during staging.

Jack


On Tue, Feb 2, 2016 at 2:33 PM, Evan Farrar <evanfarrar(a)gmail.com> wrote:

Could using a custom gem mirror be achieved by caching the dependencies
before push? Operating in a "airgapped" or "Disconnected environment" and
operating in a "whitelist firewall environment" often require similar
approaches, so following the advice for disconnected environments might
help:


https://github.com/cloudfoundry/buildpack-packager/blob/master/doc/disconnected_environments.md

On Tue, Feb 2, 2016 at 11:22 AM, Jack Cai <greensight(a)gmail.com> wrote:

Can someone merge this PR: [1]? It provides useful features to allow
operators to set a global gem repo mirror (via environment variable group)
where the default repo is slow to reach. Thanks!!

Jack


[1] https://github.com/cloudfoundry/ruby-buildpack/pull/47