ptkwt
4/15/2006 6:39:00 PM
In article <1145048531.812119.220450@g10g2000cwb.googlegroups.com>,
rcoder <rcoder@gmail.com> wrote:
>Phil,
>
>In your second example, you're passing 'http://localhost' as a
>*hostname*, not a URL fragment, when you call the XML-RPC client
>constructor. Try using the 'new2' constructor, which accepts a URL
>string, rather than separate hostname, port, and path params.
>
>-Lennon
>
Yeah, I just use 'localhost' now.
I found that when I downgraded back to the original Ruby that came with the
Suse 10.0 distro we're using things worked fine.
Is XMLRPC broken on Ruby 1.8.4? I thought about some other possibilities:
There was a thread a while back about compiling Ruby with gcc 4.0.x (I had
compiled Ruby 1.8.4 with gcc 4.0.2 )and how that breaks networking, however,
as I recall that was on OS X not on Linux. I asked others in our group what
versions of Ruby they were running and how they were compiled. So far a couple
of people have said that xmlrpc is broken for them on 1.8.4 (and for them 1.8.4
came with their distro - I think they're running fedora ). Nothing
conclusive yet, but it seems that xmlrpc might be broken on Ruby 1.8.4. It
would be good to get more datapoints.
Phil