remove Gemfile.lock
use URI.encode for page name in URI.