On 7/6/2010 1:25 AM, Jet Thompson wrote: > In particular, > > why would I be getting this: > > $irb > 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 that point. 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 /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so is 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. -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple