I’m getting a “Could not open any of [xml2, xslt, exslt] (LoadError)” error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem.
The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ‘xml2’, ‘xslt’, ‘exslt’
Not sure if there are missing gems, and if so, what to install. Any ideas how to fix this?
Thanks very much.
Program – main.rb: