If your environment contains a local mirror of the rubygems.org server, use the mirror.URL configuration option to supply the URL of the mirror. At that point, Bundler will download gems and gemspecs from that mirror instead of the source listed in the Gemfile.