mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Restore AS vendor file until we get things sorted out in railties
This commit is contained in:
parent
a0e43073e2
commit
8c8e09c305
2 changed files with 28 additions and 0 deletions
|
@ -35,6 +35,7 @@ module ActiveSupport
|
|||
end
|
||||
|
||||
require 'active_support/autoload'
|
||||
require 'active_support/vendor'
|
||||
|
||||
begin
|
||||
require 'i18n'
|
||||
|
|
27
activesupport/lib/active_support/vendor.rb
Normal file
27
activesupport/lib/active_support/vendor.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue