Thanks for this, I'm enjoying it!
You probably want to add something like
set :url, "http://example.com" # site root URL
to your config.ru documentation.