From 6e6f3472a2243819790fe994f756c88a7e0764ad Mon Sep 17 00:00:00 2001 From: "M.Shibuya" Date: Sat, 13 Feb 2021 15:32:44 +0900 Subject: [PATCH] Fix JRuby CI failure Refs. https://github.com/jruby/jruby/issues/6547 --- spec/spec_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b5eb5de12..a32430fc3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,12 @@ require 'rubygems' require 'bundler/setup' +if RUBY_ENGINE == 'jruby' + # Workaround for JRuby CI failure https://github.com/jruby/jruby/issues/6547#issuecomment-774104996 + require 'i18n/backend' + require 'i18n/backend/simple' +end + require 'pry' require 'tempfile' require 'time'