Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add base file.

  • Loading branch information...
commit f29e168db889d215560c563e95033c547db4fed2 1 parent b875d24
@yoshiori authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/rubygems/mirror/command/cli.rb
View
3  lib/rubygems/mirror/command/cli.rb
@@ -22,6 +22,7 @@ class CLI < Thor
"latest_specs.#{Gem.marshal_version}.gz",
"Marshal.#{Gem.marshal_version}.Z",
"yaml",
+ "quick/latest_index.rz",
]
GEMSPECS_DIR = "quick/Marshal.#{Gem.marshal_version}/"
@@ -33,7 +34,7 @@ def fetch
fetch_gemspecs
end
- desc "server", "start mirror server."
+ desc "server [port]", "start mirror server."
def server(port = 4000)
WEBrick::HTTPServer.new(:DocumentRoot => to, :Port => port).start
end
Please sign in to comment.
Something went wrong with that request. Please try again.