blob: 11f2cd250341b5071533dcff4ddea7b46fd51826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-aa,v 1.3 2008/02/09 06:20:25 minskim Exp $
--- lib/active_record.rb.orig 2008-02-08 21:45:03.000000000 -0800
+++ lib/active_record.rb
@@ -25,15 +25,7 @@ $:.unshift(File.dirname(__FILE__)) unles
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
unless defined? ActiveSupport
- active_support_path = File.dirname(__FILE__) + "/../../activesupport/lib"
- if File.exist?(active_support_path)
- $:.unshift active_support_path
- require 'active_support'
- else
- require 'rubygems'
- gem 'activesupport'
- require 'active_support'
- end
+ require 'active_support'
end
require 'active_record/base'
|