lib/geminabox/proxy/hostess.rb in geminabox-0.12.4 vs lib/geminabox/proxy/hostess.rb in geminabox-0.13.0

- old
+ new

@@ -57,10 +57,10 @@ def get_from_rubygems_if_not_local file = File.expand_path(File.join(Server.data, *request.path_info)) unless File.exists?(file) - ruby_gems_url = 'http://production.cf.rubygems.org' + ruby_gems_url = Geminabox.ruby_gems_url path = File.join(ruby_gems_url, *request.path_info) content = Geminabox.http_adapter.get_content(path) GemStore.create(IncomingGem.new(StringIO.new(content))) end