Created
September 15, 2011 23:39
-
-
Save robertjwhitney/1220812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gem install thin | |
# gem install rack | |
# thin -R static.ru start | |
# The static content rooted in the current working directory | |
# Dir.pwd => http://localhost:3000/ | |
# | |
root=Dir.pwd | |
puts ">>> Serving: #{root}" | |
run Rack::Directory.new("#{root}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment