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

- old
+ new

@@ -56,10 +56,10 @@ private def get_from_rubygems_if_not_local file = File.expand_path(File.join(Server.data, *request.path_info)) - unless File.exists?(file) + unless File.exist?(file) 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