Command line web server and web browser in ruby