delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/05/22:22:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_ALL,SPF_HELO_PASS,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jet Thompson <jet AT whidbey DOT com>
Subject: nokogiri Load Error
Date: Tue, 6 Jul 2010 02:21:47 +0000 (UTC)
Lines: 67
Message-ID: <loom.20100706T040719-790@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://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

I am having a path problem with nokogiri and cygwin 1.5

I do not have this error with nokogiri under dos.

I try to launch cucumber, and I get:

$cucumber
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/gem_dependency.rb:99:
Warning:Gem::Dependency#version_requirements is deprecated and 
will be removed on or after August 2010.  Use #requirement

No such file or directory -
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so 
(LoadError)

/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support

/dependencies.rb:156:in
`require'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support

/dependencies.rb:521:in

`new_constants_in'

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support

/dependencies.rb:156:in
`require'
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri.rb:13

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`gem_original_require'

Seems that it may relate to rubygems.

In cygwin I try this test with irb:

irb(main):001:0> require 'rubygems'=> false
irb(main):002:0> require 'nokogiri'
LoadError: No such file or directory -
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so
from /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.so
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.2/lib/nokogiri.rb:13
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2

...and the same test under dos:

irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> require 'nokogiri'
=> true

I realize that these are 2 different installations of rubygems and nokogiri,
so I am curious why the one is working while the other fails.

Cheers,

   Jet


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019