Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tiny HTTP Server.
require 'webrick'
:DocumentRoot => '.',
:Port => 8013,
Copy link

hyuki0000 commented Mar 30, 2013

C:> ruby httpserver.rb

(Browse http://localhost:8013/myfile.html )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment