From: Mohammad Khan Date: 2007-03-21T21:57:22+09:00 Subject: Re: libxml-ruby ------=_Part_192616_33293772.1174481838147 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I need, require 'xml/libxml_so' or 'libxml_so' after '"gem 'libxml-ruby' Looks like gemspec of libxml-ruby doesn't have 'autorequire' parameter. Thanks, Mohammad On 3/20/07, Trans wrote: > > > > On Mar 20, 9:49 pm, "Mohammad Khan" wrote: > > [beeplove@vpn ~]$ irb > > irb(main):001:0> require 'rubygems' > > => true > > irb(main):002:0> require_gem 'libxml-ruby' > > => true > > irb(main):003:0> require 'xml/libxml' > > xml/libxml > > LoadError: no such file to load -- xml/libxml > > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:22:in > > `require__' > > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:22:in > > `require' > > from (irb):3 > > irb(main):004:0> > > Check your installation of libxml. Look in the gems installation dir > for the libxml-ruby package and see if the xml/libxml.rb file is > there. It's working fine on my machine and I just reinstalled from > scratch to be sure. > > You might want to update your version of RubyGems too. > > T. > > > -- "Proper planning prevents poor performance." - Anonymous ------=_Part_192616_33293772.1174481838147--