Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wittawasw/b355310de8b98101d55a614cfebba910 to your computer and use it in GitHub Desktop.
Save wittawasw/b355310de8b98101d55a614cfebba910 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