Skip to content

Instantly share code, notes, and snippets.

@ggilder
Created June 30, 2011 05:27
Show Gist options
  • Save ggilder/1055684 to your computer and use it in GitHub Desktop.
Save ggilder/1055684 to your computer and use it in GitHub Desktop.
Use Sinatra to serve static files from the current directory
ruby -e "require 'rubygems';require 'sinatra';set :port, 9999;set :public, Dir.pwd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment