Permalink
Browse files

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

  • Loading branch information...
1 parent 7ae173b commit 42a3820bad37c5a387d09f204b7b0df0a94e81c1 @nelstrom committed Mar 3, 2011
Showing with 12 additions and 0 deletions.
  1. +3 −0 .gems
  2. +9 −0 config.ru
View
@@ -0,0 +1,3 @@
+rack-contrib
+rack-rewrite
+
View
@@ -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')

0 comments on commit 42a3820

Please sign in to comment.