Bundler offers rake tasks to manage releasing public gems. The expectation is that the git repo and the gem server will be public. If that’s not the case, then you should implement your own `rake release` task.

On Apr 1, 2014, at 6:57 AM, mo khan <notifications@github.com> wrote:

> In lib/bundler/gem_helper.rb:
> 
> >        if Pathname.new("~/.gem/credentials").expand_path.exist?
> > -        sh("gem push '#{path}'")
> > +        sh("gem push '#{path}' --host #{gem_server}")
> It appears the gem offers a --host option to specify which gemcutter compatible server to push to.
> 
> —
> Reply to this email directly or view it on GitHub.
>