Using the sample script that came with the Tidy library, I get the
following error:

>ruby tidy.rb
../tidy.rb:2: uninitialized constant Tidy (NameError)
	from c:/program
files/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
	from c:/program
files/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
	from tidy.rb:1
>Exit code: 1


I just need tidy.dll, not tidy.exe, right?  How do I reference tidy?

require 'tidy'
Tidy.path = 'C:/Progra~1/tidy/bin/tidy.dll'

html = gets
  xml = Tidy.open(:show_warnings=>true) do |tidy|
    tidy.options.output_xml = true
    puts tidy.options.show_warnings
    xml = tidy.clean(html)
    puts tidy.errors
    puts tidy.diagnostics
    xml
  end
  puts xml