Browse files

Heroku things

  • Loading branch information...
1 parent 944fd65 commit dd07f2e1048f23b0c6c7bc1d06f996ffbe3a5495 @juliocesar committed Jan 21, 2013
Showing with 20 additions and 0 deletions.
  1. +3 −0 Gemfile
  2. +10 −0 Gemfile.lock
  3. +7 −0 config.ru
View
3 Gemfile
@@ -0,0 +1,3 @@
+source :rubygems
+
+gem 'rack'
View
10 Gemfile.lock
@@ -0,0 +1,10 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ rack (1.4.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ rack
View
7 config.ru
@@ -0,0 +1,7 @@
+use Rack::Static,
+ :urls => %w(/stylesheets /javascripts /images),
+ :root => File.dirname(__FILE__) + '/public'
+
+run lambda { |env|
+ [ 200, { 'Content-Type' => 'text/html' }, File.open('public/index.html') ]
+}

0 comments on commit dd07f2e

Please sign in to comment.