Permalink
Browse files

pin version of rack and disable loading files

  • Loading branch information...
1 parent 7412a8b commit b99432bdc105bc8ab98cecb7c9a20fd78b78f2ba @garethr garethr committed Apr 3, 2012
Showing with 5 additions and 6 deletions.
  1. +1 −1 Gemfile
  2. +2 −2 Gemfile.lock
  3. +2 −3 config.ru
View
@@ -3,7 +3,7 @@ source 'https://gems.gemfury.com/vo6ZrmjBQu5szyywDszE/'
gem 'slimmer'
gem "jekyll"
-gem 'rack'
+gem 'rack', '1.3.5'
gem 'rake', '0.9.2'
gem "term-ansicolor"
gem "rack-contrib"
View
@@ -23,7 +23,7 @@ GEM
nokogiri (1.5.2)
null_logger (0.0.1)
posix-spawn (0.3.6)
- rack (1.4.1)
+ rack (1.3.5)
rack-contrib (1.1.0)
rack (>= 0.9.1)
rake (0.9.2)
@@ -40,7 +40,7 @@ PLATFORMS
DEPENDENCIES
jekyll
- rack
+ rack (= 1.3.5)
rack-contrib
rake (= 0.9.2)
router-client (= 2.0.3)
View
@@ -15,7 +15,6 @@ map "/designprinciples/styleguide" do
run Rack::File.new("_site/styleguide.html")
end
-use Rack::TryStatic, root: "_site/", urls: %w[/], :try => ['.html', 'index.html', '/index.html']
-
+#use Rack::TryStatic, root: "_site/", urls: %w[/], :try => ['.html', 'index.html', '/index.html']
# otherwise 404 NotFound
-run lambda { [404, {'Content-Type' => 'text/plain'}, ['whoops! Not Found']] }
+#run lambda { [404, {'Content-Type' => 'text/plain'}, ['whoops! Not Found']] }

0 comments on commit b99432b

Please sign in to comment.