Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 8c8e09c3054865f814d967fae444853d7ac8c671 1 parent a0e4307
@josh josh authored
View
1  activesupport/lib/active_support.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'
View
27 activesupport/lib/active_support/vendor.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.