Permalink
Browse files

Use the i18n gem if present instead of vendor code. [#2871 state:reso…

…lved]

Signed-off-by: Yehuda Katz <wycats@gmail.com>
  • Loading branch information...
1 parent da63539 commit 579250ea467ac406a5897dc2187c7959bf343b4f @lawrencepit lawrencepit committed with wycats Jul 6, 2009
Showing with 4 additions and 5 deletions.
  1. +4 −5 activesupport/lib/active_support/vendor.rb
View
9 activesupport/lib/active_support/vendor.rb
@@ -19,10 +19,9 @@
$:.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

0 comments on commit 579250e

Please sign in to comment.