I am trying to install libxml using the command libxml-ruby and I am
seeing the following errors.
Building native extensions. This could take a while…
ERROR: Error installing libxml-ruby:
ERROR: Failed to build gem native extension.
D:/Ruby/bin/ruby.exe -rubygems
D:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rak
e
RUBYARCHDIR=D:/Ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/li
b
RUBYLIBDIR=D:/Ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
D:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in
`raw_load_rakefile
’
(See full trace by running task with --trace)
Gem files will remain installed in
D:/Ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.
1.3-x86-mswin32-60 for inspection.
Results logged to
D:/Ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-6
0/ext/mingw/gem_make.out
Please provide information of the Ruby version you’re using (‘gem env’
will be enough)
Appears that you’re using the VC6 build of ruby (i386-mswin32) which
requires you have Visual C 6.0 installed (no longer available)
Please confirm this, and if so, then I would recommend usage of
RubyInstaller[1] packages with the DevKit[2] to get a stable Ruby
environment with compiler.
Please provide information of the Ruby version you’re using (‘gem env’
will be enough)
Appears that you’re using the VC6 build of ruby (i386-mswin32) which
requires you have Visual C 6.0 installed (no longer available)
Please confirm this, and if so, then I would recommend usage of
RubyInstaller[1] packages with the DevKit[2] to get a stable Ruby
environment with compiler.
The interesting thing is, that rake complains about missing Rakefile…
and indeed, the Rakefile is not under …/lib but under
…/libxml-ruby-1.1.3-x86-mswin32-60 - I’m getting clueless…
[1]http://rubyinstaller.org/
RubyGems Environment:
- d:/profiles/v-zpenzeli/.gem/ruby/1.8
The interesting thing is, that rake complains about missing Rakefile…
and indeed, the Rakefile is not under …/lib but under
./libxml-ruby-1.1.3-x86-mswin32-60 - I’m getting clueless…
Ok, seems that my previous comment wasn’t clear
libxml-ruby 1.1.3 gem, compiled binary available for download here: