Permalink
Browse files

require i18n in transliterate so it can run in isolated situations

  • Loading branch information...
1 parent 0207bc7 commit a4278766068ee89fc910e113ef93d82071757965 @jackdempsey jackdempsey committed with Carl Lerche Sep 13, 2010
@@ -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
@@ -1,5 +1,6 @@
# encoding: utf-8
require 'active_support/core_ext/string/multibyte'
+require 'active_support/i18n'
module ActiveSupport
module Inflector

0 comments on commit a427876

Please sign in to comment.