Permalink
Browse files

Ruby 1.9: qualify toplevel File reference since config.ru could be ev…

…al'd in a different scope

Restores accidentally-reverted commit.
  • Loading branch information...
1 parent 2110a52 commit 2ca93403a259a8e6cead1c3a6eba675df9f1586a @josh josh committed with jeremy Sep 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config.ru
@@ -1,5 +1,5 @@
# Require your environment file to bootstrap Rails
-require File.expand_path('../config/application', __FILE__)
+require ::File.expand_path('../config/application', __FILE__)
# Dispatch the request
run Rails.application.new

0 comments on commit 2ca9340

Please sign in to comment.