Fixed last commit: Using root_url in place of root_path works under WEBrick as well as apache.