xml4r/libxml-ruby — Issue #32: Broken when used as a Rails gem (and probably in other rubygem contexts)
Author: palexander
Created: 2011-11-16 19:28:33+00:00
State: open

When using libxml-ruby with rails as such:

config.gem "libxml-ruby", :version => "~> 2.2.2"

An error is thrown:

no such file to load -- libxml-ruby

This can be corrected by adding a file at lib/libxml-ruby.rb that contains:

require 'libxml'

The long way around would be to rename everything according to rubygem patterns. If you're interested in this option I could create a fork and rename, preserving the 'xml' and 'libxml' imports. Then again, you could just rename the gem as libxml. :)