Skip to content

Instantly share code, notes, and snippets.

@agarie
Created December 20, 2013 00:41
Show Gist options
  • Save agarie/8048725 to your computer and use it in GitHub Desktop.
Save agarie/8048725 to your computer and use it in GitHub Desktop.
Ruby webserver one-liner.
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