From 614fccd8c4bcd5b389c3265dcd9b5219555e2e48 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 24 Mar 2009 17:03:47 -0700 Subject: Don't require out of load path --- activesupport/Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activesupport') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index ccbab525ba..f7fd52c7d8 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -88,7 +88,8 @@ task :release => [ :package ] do end -require 'lib/active_support/values/time_zone' +$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/lib" +require 'active_support/values/time_zone' namespace :tzinfo do desc "Update bundled tzinfo gem. Only copies the subset of classes and definitions required to support Rails time zone features." -- cgit v1.2.3