head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.18 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.16 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.14 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.12 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.10 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.8 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.6 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.4 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.2 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.1.0.2 pkgsrc-2008Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2008.04.04.15.30.00; author jlam; state dead; branches; next 1.1; 1.1 date 2008.02.09.06.20.25; author minskim; state Exp; branches; next ; desc @@ 1.2 log @Install as a gem using the pkgsrc rubygem.mk framework instead of directly into site_ruby. @ text @$NetBSD: patch-ab,v 1.1 2008/02/09 06:20:25 minskim Exp $ --- lib/active_record/connection_adapters/abstract/connection_specification.rb.orig 2008-02-08 21:48:27.000000000 -0800 +++ lib/active_record/connection_adapters/abstract/connection_specification.rb @@@@ -221,15 +221,7 @@@@ module ActiveRecord unless spec.key?(:adapter) then raise AdapterNotSpecified, "database configuration does not specify adapter" end begin - require 'rubygems' - gem "activerecord-#{spec[:adapter]}-adapter" require "active_record/connection_adapters/#{spec[:adapter]}_adapter" - rescue LoadError - begin - require "active_record/connection_adapters/#{spec[:adapter]}_adapter" - rescue LoadError - raise "Please install the #{spec[:adapter]} adapter: `gem install activerecord-#{spec[:adapter]}-adapter` (#{$!})" - end end adapter_method = "#{spec[:adapter]}_connection" @ 1.1 log @Update ruby-activerecord to 2.0.2. There have been too many changes. Please see CHANGELOG for the complete list: http://dev.rubyonrails.org/browser/tags/rel_2-0-2/activerecord/CHANGELOG @ text @d1 1 a1 1 $NetBSD$ @