Skip to content

Commit

Permalink
better static content
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Sep 21, 2011
1 parent 96dc39f commit 03a2f10
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 45 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -6,6 +6,7 @@ gem "dm-serializer"
gem "dm-migrations"
gem "dm-validations"
gem "dm-timestamps"
gem "heroku"

group :production do
gem "pg"
Expand Down
13 changes: 13 additions & 0 deletions Gemfile.lock
Expand Up @@ -30,9 +30,20 @@ GEM
do_sqlite3 (0.10.6)
data_objects (= 0.10.6)
fastercsv (1.5.4)
heroku (2.7.0)
launchy (>= 0.3.2)
rest-client (~> 1.6.1)
rubyzip
term-ansicolor (~> 1.0.5)
json (1.4.6)
launchy (2.0.5)
addressable (~> 2.2.6)
mime-types (1.16)
pg (0.11.0)
rack (1.3.3)
rest-client (1.6.7)
mime-types (>= 1.16)
rubyzip (0.9.4)
shotgun (0.9)
rack (>= 1.0)
sinatra (1.2.6)
Expand All @@ -41,6 +52,7 @@ GEM
sqlite3 (1.3.4)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
term-ansicolor (1.0.6)
tilt (1.3.3)

PLATFORMS
Expand All @@ -54,6 +66,7 @@ DEPENDENCIES
dm-sqlite-adapter
dm-timestamps
dm-validations
heroku
pg
shotgun
sinatra
Expand Down
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -6,7 +6,7 @@ Bundler.require(:runtime)

require './app'

use Rack::Static, :urls => ["/css", "/images", "/js"], :root => "public"
use Rack::Static, :root => "public"

run GitApp

10 changes: 0 additions & 10 deletions public/dispatch.cgi

This file was deleted.

24 changes: 0 additions & 24 deletions public/dispatch.fcgi

This file was deleted.

10 changes: 0 additions & 10 deletions public/dispatch.rb

This file was deleted.

0 comments on commit 03a2f10

Please sign in to comment.