source: subversion/sites/rails_port/config/initializers/libxml.rb @ 14006

Last change on this file since 14006 was 14006, checked in by tomhughes, 10 years ago

Update to use libxml 1.0.0 gem.

File size: 237 bytes
Line 
1require 'rubygems'
2gem 'libxml-ruby', '>= 1.0.0'
3require 'libxml'
4
5# This is required otherwise libxml writes out memory errors to
6# the standard output and exits uncleanly
7LibXML::XML::Error.set_handler do |message|
8  raise message
9end
Note: See TracBrowser for help on using the repository browser.