mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use the i18n gem if present instead of vendor code. [#2871 state:resolved]
Signed-off-by: Yehuda Katz <wycats@gmail.com>
This commit is contained in:
committed by
Yehuda Katz
parent
da635394c1
commit
579250ea46
@@ -19,10 +19,9 @@ rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/vendor/tzinfo-0.3.13"
|
||||
end
|
||||
|
||||
# TODO I18n gem has not been released yet
|
||||
# begin
|
||||
# gem 'i18n', '~> 0.1.3'
|
||||
# rescue Gem::LoadError
|
||||
begin
|
||||
gem 'i18n', '~> 0.1.3'
|
||||
rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/vendor/i18n-0.1.3/lib"
|
||||
require 'i18n'
|
||||
# end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user