This is the mail archive of the
mailing list for the Cygwin project.
Re: nokogiri Load Error
On 7/6/2010 1:25 AM, Jet Thompson wrote:
> In particular,
> why would I be getting this:
> irb(main):001:0> require 'rubygems'
> => false
> The same command under dos returns true.
This is not a Cygwin question but rather a Ruby question. In your
Cygwin environment, you have probably the RUBYOPT environment variable
set to include "-rubygems" or something very similar such that the
rubygems module is automatically loaded. It is normal for the require
function to return false when the requested module is already loaded.
Your DOS environment does not have this configuration so the first
require returns true since it actually loaded the ruby gems module at
To address your first question which started this thread, it appears
that your installation of nokogiri did not complete successfully. Did
you check to confirm whether or not
actually there? If the file isn't there, you need to refer back to the
installation instructions for nokogiri which will help you out more. My
guess is that you don't have the gcc package installed which would be
required to build the .so file in the first place.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple