Skip to content
Browse files

Fixes an issue: `undefined method \`directory?' for Rack::File:Class …

…(NoMethodError)` (probably specific to ruby 1.9)
  • Loading branch information...
1 parent 0145631 commit 8367a35fc0dce5209484010dc637e381272a7f51 @ambethia committed Apr 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.ru
View
2 config.ru
@@ -1,5 +1,5 @@
ENV['RACK_ENV'] ||= 'production'
require 'config'
-use GemsAndRdocs, :urls => ['/cache', '/doc'], :root => File.directory?("gems") ? "gems" : Gem.dir
+use GemsAndRdocs, :urls => ['/cache', '/doc'], :root => ::File.directory?("gems") ? "gems" : Gem.dir
use Rack::Compress
run RackRubygems.new

0 comments on commit 8367a35

Please sign in to comment.
Something went wrong with that request. Please try again.