1.8.0 vs. Windows XP problem

M

Michael Campbell

I downloaded the latest source and built ruby under cygwin. make, make test,
make install all succeeded.

However, I have a script which fails now and didn't used to. I've narrowed
it down to this:


bash-2.05b$ ruby -v -w -e 'require "net/ftp"'
/cygdrive/c/ruby/lib/ruby/1.8/net/ftp.rb:14:in `require': No such file to
load -- socket (LoadError)
from /cygdrive/c/ruby/lib/ruby/1.8/net/ftp.rb:14
from -e:1:in `require'
from -e:1
ruby 1.8.0 (2003-08-04) [i386-cygwin]

The odd thing is, the exact same procedure works fine on my Windows 98 box!
I'm sure this is something silly, but I can't see the problem.

Thoughts?
 
Y

Yukihiro Matsumoto

Hi,

In message "1.8.0 vs. Windows XP problem"

|bash-2.05b$ ruby -v -w -e 'require "net/ftp"'
|/cygdrive/c/ruby/lib/ruby/1.8/net/ftp.rb:14:in `require': No such file to
|load -- socket (LoadError)
| from /cygdrive/c/ruby/lib/ruby/1.8/net/ftp.rb:14
| from -e:1:in `require'
| from -e:1
|ruby 1.8.0 (2003-08-04) [i386-cygwin]

This means your installation was not complete. socket.dll is not
installed at the right position. Show us your $LOAD_PATH and the log
output from "make install".

matz.
 
K

Kurt M. Dresner

"(e-mail address removed)" See? That wasn't too hard. You could even
set up an alias or something in your addressbook if that seems too
daunting.

*mumble mumble* Screwing up my threaded mail client *mumble mumble*

-Kurt :eek:)
 
H

Hal E. Fulton

----- Original Message -----
From: "Kurt M. Dresner" <[email protected]>
To: "ruby-talk ML" <[email protected]>
Sent: Monday, August 11, 2003 11:47 AM
Subject: Re: 1.8.0 vs. Windows XP problem

"(e-mail address removed)" See? That wasn't too hard. You could even
set up an alias or something in your addressbook if that seems too
daunting.

*mumble mumble* Screwing up my threaded mail client *mumble mumble*

Out of curiosity, what did he do to screw up your
mail client?

<jab type="good-natured>At least he's not a top-poster.</jab>

Cheers,
Hal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top