Installing libxml on windows

Hi,
I am trying to install libxml on windows ruby from gem file [1], and
though
install output suggests install was successful with “1 gem installed”,
in
the build.log it says "rake aborted! No Rakefile found (looking for:
build.rake).

Assuming install worked nonetheless, when I try to require ‘libxml’ [2],
it
reports that libxml_ruby.so could not be found, even though it does
actually exist, although it’s only 209KB.

Ideas anyone? New to ruby, so not exactly sure why there’s a rake error
logged when gem apparently installed, and also why it’s reported the .so
file doesn’t exist when it does.

Jason

[1] Gem install output (includes some warnings/errors about char
conversion):

C:\Downloads>gem install libxml-ruby-1.1.3-x86-mswin32-60.gem
Temporarily enhancing PATH to include DevKit…
Building native extensions. This could take a while…
Successfully installed libxml-ruby-1.1.3-x86-mswin32-60
Parsing documentation for libxml-ruby-1.1.3-x86-mswin32-60
unable to convert “\x90” from ASCII-8BIT to UTF-8 for
lib/libiconv-2.dll,
skipping
unable to convert “\x90” from ASCII-8BIT to UTF-8 for lib/libxml2-2.dll,
skipping
unable to convert “\xE4” from ASCII-8BIT to UTF-8 for
lib/libxml_ruby.dll.a, skipping
unable to convert “\x90” from ASCII-8BIT to UTF-8 for
lib/libxml_ruby.so,
skipping
1 gem installed

[2] require ‘libxml’ output:

irb(main):001:0> require ‘libxml’
LoadError: 126: The specified module could not be found. -
C:/Ruby200/lib/ruby/gems/2.0.0/gems/libxml-ruby-1.1.3-x86-m
swin32-60/lib/libxml_ruby.so
from
C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
require' from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire’
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib/libxml.rb:9:in
<top (required)>' from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:inrequire’
from
C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:in
rescue in require' from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:35:inrequire’
from (irb):1
from C:/Ruby200/bin/irb:12:in `’

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs