1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Merge fix for gem server, bump RubyGems version to 1.3.7

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2010-05-01 05:19:16 +00:00
parent 9111bbf818
commit 40cd5e8a79
4 changed files with 10 additions and 2 deletions

View file

@ -797,7 +797,7 @@ div.method-source-code pre { color: #ffdead; overflow: hidden; }
paths = { "/gems" => "/cache/", "/doc_root" => "/doc/" }
paths.each do |mount_point, mount_dir|
@server.mount(mount_point, WEBrick::HTTPServlet::FileHandler,
File.join(@gem_dir.first, mount_dir), true)
File.join(@gem_dirs.first, mount_dir), true)
end
trap("INT") { @server.shutdown; exit! }