Skip to content

Instantly share code, notes, and snippets.

@tritonrc
Created May 11, 2011 15:01
Show Gist options
  • Select an option

  • Save tritonrc/966620 to your computer and use it in GitHub Desktop.

Select an option

Save tritonrc/966620 to your computer and use it in GitHub Desktop.
Simple rackup file that serves static files only
app = proc do |env|
Rack::File.new('.').call(env)
end
run app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment