From 9875574bbfebfdca96a80cf1c29c83adcbbda8f8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 23 May 2012 16:41:40 -0700 Subject: Revert "require the constants we use. ensure that root always returns a Pathname" This reverts commit d77b576c0330d8b1c6189cb94814382ce32baab6. --- railties/lib/rails/engine/configuration.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'railties') diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index f82c1d00fb..e31df807a6 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -1,5 +1,4 @@ require 'rails/railtie/configuration' -require 'pathname' module Rails class Engine @@ -9,7 +8,7 @@ module Rails def initialize(root=nil) super() - @root = root && Pathname.new(root) + @root = root @generators = app_generators.dup end -- cgit v1.2.3