Ryan Duryea wrote:
Well, I went and got some answers to my own questions!
Is this a problem for those running the version of Ruby included with
Mac OS X as well?
Sure seems like it. Check this out:
% /usr/bin/ruby.orig -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
% /usr/bin/ruby.orig -r socket -e "TCPServer.open('localhost', 0)"
-e:1:in `initialize': getaddrinfo: nodename nor servname provided, or
not known (SocketError)
from -e:1:in `open'
from -e:1
Does anyone know if/when this is going to be fixed?
Keep in mind that I have almost no experience with socket programming,
but I have submitted a patch for MacPorts under this ticket. Use at
your own peril! It seems to work for me, but your mileage may vary!
https://trac.macports.org/ticket/15528
···
--
Posted via http://www.ruby-forum.com/\.
I just thought I'd tell people what I ended up doing to solve the
problem so that they might avoid some of the problems I ran into.
I downgraded to 10.5.0 via my leopard install cd using the preserve
perferences option.
I was hoping it'd leave everything the same, just downgrade the system,
so all my filesystems would be intact (/usr/local/src, bin etc etc.)
Wrong assumption. They were scattered all over a folder that was
created called "Previous System"
At first I thought I could piece it all together, but no way!. It was
like a bomb went off and scattered my development environment all over
the place with no discernible logic.
So
I rebuilt my whole environment from scratch - gems, mysql, ruby, rails,
subversion etc etc etc.
Total nightmare.
If you can find a way to patch the problem until apple fixes it - do.
···
--
Posted via http://www.ruby-forum.com/.