Skip to content

Instantly share code, notes, and snippets.

@juanghurtado
Created November 25, 2011 07:37
Show Gist options
  • Save juanghurtado/1393001 to your computer and use it in GitHub Desktop.
Save juanghurtado/1393001 to your computer and use it in GitHub Desktop.
One liner for starting a Webrick server at `pwd` from terminal
ruby -rwebrick -e'WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd).start'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment