Ah, Ruby

One of the bad things about Ruby [1] is that sometimes when you Google for information on a warning or error message, the only references that turn up are in Japanese.

I’ve been trying to work on a couple of things that need to open https connections with a username and password, and invariably I can’t get it to work. After much mucking around with net/http(s), I feel like I have a fairly good idea of how to work with this library, but even the most successful looking results I’m getting are re-directs because the server on the other end can’t see the username and password I’m sending. This is getting really frustrating, I have no idea if I’m doing something wrong or if there’s a problem with the openssl library, but I can’t even get code samples from a couple of online tutorials to do this correctly.

I’m about ready to rewrite my project in perl. But maybe I’ll find a useful hint in my copy of the Ruby Cookbook, which should be arriving later today.

[1] Okay, this isn’t a problem if you actually speak Japanese. But for me… I’m wishing they were at least writing in German, so I’d have some chance of working out what’s being said.

Tags: ,

Comments are closed.