require i18n in transliterate so it can run in isolated situations
This commit is contained in:
parent
0207bc7cc9
commit
a427876606
@ -1,5 +1,6 @@
|
|||||||
begin
|
begin
|
||||||
require 'i18n'
|
require 'i18n'
|
||||||
|
require 'lazy_load_hooks'
|
||||||
rescue LoadError => e
|
rescue LoadError => e
|
||||||
$stderr.puts "You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install"
|
$stderr.puts "You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install"
|
||||||
raise e
|
raise e
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
require 'active_support/core_ext/string/multibyte'
|
require 'active_support/core_ext/string/multibyte'
|
||||||
|
require 'active_support/i18n'
|
||||||
|
|
||||||
module ActiveSupport
|
module ActiveSupport
|
||||||
module Inflector
|
module Inflector
|
||||||
|
Loading…
Reference in New Issue
Block a user