1. 4
  1.  

  2. 1

    Note that this is just one line if you have ruby1.9 :)

    sudo ruby -run -e "httpd"