rails 4.2: fix i18n tasks

refs #CNVS-26056

Change-Id: I0cb3c3c46ccee9e26972853aa0f08db0f0fffcce
Reviewed-on: https://gerrit.instructure.com/70967
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
This commit is contained in:
James Williams 2016-01-26 10:06:09 -07:00
parent 90bb00bc80
commit 1ce5a75400
1 changed files with 1 additions and 2 deletions

View File

@ -58,8 +58,7 @@ namespace :i18n do
Bundler.setup
# for consistency in how canvas does json ... this way our specs can
# verify _core_en is up to date
ActiveSupport::JSON.backend = :oj
MultiJson.dump_options = {:escape_mode => :xss_safe}
require 'config/initializers/json'
# set up rails i18n paths ... normally rails env does this for us :-/
require 'action_controller'