>>305
require 'uri'
puts URI.join('http://www.ruby-lang.org/', '/ja/man-1.6/')

で

http://www.ruby-lang.org/ja/man-1.6/