Skip to content

Commit

Permalink
require i18n in transliterate so it can run in isolated situations
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdempsey authored and Carl Lerche committed Sep 14, 2010
1 parent 0207bc7 commit a427876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions activesupport/lib/active_support/i18n.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
begin
require 'i18n'
require 'lazy_load_hooks'
rescue LoadError => e
$stderr.puts "You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install"
raise e
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# encoding: utf-8
require 'active_support/core_ext/string/multibyte'
require 'active_support/i18n'

module ActiveSupport
module Inflector
Expand Down

0 comments on commit a427876

Please sign in to comment.