Forum: Ruby Net::FTP broken on OS X (Tiger) / Ruby 1.8.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 Subimage (Guest)
on 2006-04-17 11:18
I'm running Ruby 1.8.2 on my Tiger machine. I'm trying to use Net::FTP
on the machine.

I can login to the server fine, but when I try a ftp.list IRB just
hangs, then gives me something like this:

Net::FTPTempError: 425 Could not open data connection to port 54406:
Connection timed out

If I run the same code on my Debian Linux box (also Ruby 1.8.2) it works
flawlessly.

Ideas??? This is driving me nuts. I need to be able to dev on my mac...

Thanks in advance.
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 Subimage (Guest)
on 2006-04-17 11:53
Subimage wrote:
> I'm running Ruby 1.8.2 on my Tiger machine. I'm trying to use Net::FTP
> on the machine.
>
> I can login to the server fine, but when I try a ftp.list IRB just
> hangs, then gives me something like this:
>
> Net::FTPTempError: 425 Could not open data connection to port 54406:
> Connection timed out
>
> If I run the same code on my Debian Linux box (also Ruby 1.8.2) it works
> flawlessly.
>
> Ideas??? This is driving me nuts. I need to be able to dev on my mac...
>
> Thanks in advance.

PS: I doubt it's a network config error because I can use Net::HTTP just
fine.
96950c5dec0af04a5c12dae973e96cc7?d=identicon&s=25 Jeremy Tregunna (Guest)
on 2006-04-17 11:53
(Received via mailing list)
Ruby 1.8.2 that comes with Tiger is broken anyway. You should
download and compile 1.8.4 yourself.

On 17-Apr-06, at 5:19 AM, Subimage wrote:

> works
>
> !DSPAM:44435d84136742298113909!
>


--
Jeremy Tregunna
jtregunna@blurgle.ca

"You cannot depend on your eyes, when your imagination is out of
focus." -- Mark Twain
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 Subimage (Guest)
on 2006-04-17 12:14
Jeremy Tregunna wrote:
> Ruby 1.8.2 that comes with Tiger is broken anyway. You should
> download and compile 1.8.4 yourself.

I'm quite aware. I compiled it myself so Rails would work....Any other
suggestions besides recompiling?
956f185be9eac1760a2a54e287c4c844?d=identicon&s=25 ts (Guest)
on 2006-04-17 12:24
(Received via mailing list)
>>>>> "S" == Subimage  <subimage@gmail.com> writes:

S> I'm quite aware. I compiled it myself so Rails would work....Any
other
S> suggestions besides recompiling?

 Try to use passive mode.

Guy Decoux
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 Subimage (Guest)
on 2006-04-17 19:18
ts wrote:
>>>>>> "S" == Subimage  <subimage@gmail.com> writes:
>
> S> I'm quite aware. I compiled it myself so Rails would work....Any
> other
> S> suggestions besides recompiling?
>
>  Try to use passive mode.
>
> Guy Decoux

I've done that. Like I said, I can run the same code on my Debian box
and it's broken. This is really infuriating......
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 Guest (Guest)
on 2006-04-18 05:32
FYI: The same code tested works on my XP box & my Debian box with Ruby
1.8.2 (all behind the same router, so it's not a firewall issue).

I guess recompiling the latest Ruby (1.8.4) is recommended on my OSX
box? Will this break any of my installed gems like RMagick?
This topic is locked and can not be replied to.