delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C3359F4.7030802@bopp.net> |
Date: | Tue, 06 Jul 2010 11:29:40 -0500 |
From: | Jeremy Bopp <jeremy AT bopp DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: nokogiri Load Error |
References: | <loom DOT 20100706T040719-790 AT post DOT gmane DOT org> <loom DOT 20100706T082350-883 AT post DOT gmane DOT org> |
In-Reply-To: | <loom.20100706T082350-883@post.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |