Fix repl_tpl for cp_tpl, ping now only pings once.
Restore rubygems page and url.