Permalink
Browse files

ruby 1.9: Qualify toplevel File reference since config.ru could be ev…

…al'd in a different scope
  • Loading branch information...
1 parent ef58194 commit 15cffe6fbc1b0429b06c524fbcedbd50972f53b6 @josh josh committed Sep 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config.ru
@@ -1,7 +1,7 @@
# Rack Dispatcher
# Require your environment file to bootstrap Rails
-require File.dirname(__FILE__) + '/config/environment'
+require ::File.dirname(__FILE__) + '/config/environment'
# Dispatch the request
run ActionController::Dispatcher.new

0 comments on commit 15cffe6

Please sign in to comment.