mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Switch default backend of ActiveSupport::XmlMini from rexml to Nokogiri (#37258).
git-svn-id: https://svn.redmine.org/redmine/trunk@22599 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9f3ca1e753
commit
6b82aef321
1
Gemfile
1
Gemfile
@ -20,7 +20,6 @@ gem 'csv', '~> 3.2.6'
|
||||
gem 'net-imap', '~> 0.3.4'
|
||||
gem 'net-pop', '~> 0.1.2'
|
||||
gem 'net-smtp', '~> 0.3.3'
|
||||
gem 'rexml', require: false if Gem.ruby_version >= Gem::Version.new('3.0')
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
|
||||
|
||||
@ -8,6 +8,9 @@ Rails.application.config.to_prepare do
|
||||
# Forces I18n to load available locales from the backend
|
||||
I18n.config.available_locales = nil
|
||||
|
||||
# Use Nokogiri as XML backend instead of Rexml
|
||||
ActiveSupport::XmlMini.backend = 'Nokogiri'
|
||||
|
||||
Redmine::Preparation.prepare
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user