Hello,
I'm relatively new to ruby and completely new to nokogiri, so please bear with me. I'm having trouble installing and using the nokogiri gem. Below is my install:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Bryan>ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
C:\Documents and Settings\Bryan>gem -v
1.3.5
C:\Documents and Settings\Bryan>gem install nokogiri
Successfully installed nokogiri-1.4.5-x86-mswin32-60
1 gem installed
Installing ri documentation for nokogiri-1.4.5-x86-mswin32-60...
No definition for get_options
No definition for set_options
No definition for parse_memory
No definition for parse_file
No definition for parse_with
Installing RDoc documentation for nokogiri-1.4.5-x86-mswin32-60...
No definition for get_options
No definition for set_options
No definition for parse_memory
No definition for parse_file
No definition for parse_with
C:\Documents and Settings\Bryan>
After the install the following script (rsstest.rb) aborts
When I try to run it in irb I get the following error:
irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'nokogiri'
NameError: uninitialized constant RUBY_DESCRIPTION
from C:/Ruby/lib/ruby/gems/1.8/gems/nokogiri-1.4.5-x86-mswin32-60/lib/nokogiri/version.rb:12
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Ruby/lib/ruby/gems/1.8/gems/nokogiri-1.4.5-x86-mswin32-60/lib/nokogiri.rb:33
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2
from ^C:0
irb(main):003:0>
I only get this error with Nokogiri. Simple-RSS and Hpricot both work, so I don't think it's a problem with rubygems in general. I've looked around in this forum and online, but I've been unable to find anything useful. I hope someone can help, Thanks!
-Bryan