Permalink
Browse files

Restore AS vendor file until we get things sorted out in railties

  • Loading branch information...
josh committed Sep 14, 2009
1 parent a0e4307 commit 8c8e09c3054865f814d967fae444853d7ac8c671
Showing with 28 additions and 0 deletions.
  1. +1 −0 activesupport/lib/active_support.rb
  2. +27 −0 activesupport/lib/active_support/vendor.rb
@@ -35,6 +35,7 @@ def load_all!; load_all_hooks.each { |hook| hook.call } end
end
require 'active_support/autoload'
+require 'active_support/vendor'
begin
require 'i18n'
@@ -0,0 +1,27 @@
+# Prefer gems to the bundled libs.
+require 'rubygems'
+
+begin
+ gem 'builder', '~> 2.1.2'
+rescue Gem::LoadError
+ $:.unshift "#{File.dirname(__FILE__)}/vendor/builder-2.1.2/lib"
+end
+
+begin
+ gem 'memcache-client', '>= 1.6.5'
+rescue Gem::LoadError
+ $:.unshift "#{File.dirname(__FILE__)}/vendor/memcache-client-1.6.5/lib"
+end
+
+begin
+ gem 'tzinfo', '~> 0.3.13'
+rescue Gem::LoadError
+ $:.unshift "#{File.dirname(__FILE__)}/vendor/tzinfo-0.3.13/lib"
+end
+
+begin
+ gem 'i18n', '~> 0.1.3'
+rescue Gem::LoadError
+ $:.unshift "#{File.dirname(__FILE__)}/vendor/i18n-0.1.3/lib"
+ require 'i18n'
+end

0 comments on commit 8c8e09c

Please sign in to comment.