Skip to content

Commit

Permalink
Add base file.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshiori committed May 1, 2013
1 parent b875d24 commit f29e168
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rubygems/mirror/command/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"
Expand All @@ -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
Expand Down

0 comments on commit f29e168

Please sign in to comment.