Skip to content

Commit

Permalink
Use the i18n gem if present instead of vendor code. [rails#2871 state…
Browse files Browse the repository at this point in the history
…:resolved]

Signed-off-by: Yehuda Katz <wycats@gmail.com>
  • Loading branch information
lawrencepit authored and wycats committed Jul 8, 2009
1 parent da63539 commit 579250e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions activesupport/lib/active_support/vendor.rb
Expand Up @@ -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.