Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add .gems and config.ru files for Heroku deployment.

  • Loading branch information...
commit 42a3820bad37c5a387d09f204b7b0df0a94e81c1 1 parent 7ae173b
@nelstrom authored
Showing with 12 additions and 0 deletions.
  1. +3 −0  .gems
  2. +9 −0 config.ru
View
3  .gems
@@ -0,0 +1,3 @@
+rack-contrib
+rack-rewrite
+
View
9 config.ru
@@ -0,0 +1,9 @@
+require "rubygems"
+require 'rack/contrib'
+require 'rack-rewrite'
+
+use Rack::Static, :urls => ['/images'], :root => "public"
+use Rack::Rewrite do
+ rewrite '/', '/index.html'
+end
+run Rack::Directory.new('public')
Please sign in to comment.
Something went wrong with that request. Please try again.