I suppose I should have mentioned that the same code
works in Linux.  The code referenced here is the
ever-lame: 
http://www.ruby-lang.org/en/raa-list.rhtml?name=BabelFish.

Chad


--- chad fowler <chadfowler / yahoo.com> wrote:
> Hi,
> 
> I'm not usually a user of the Ruby Windows port, but
> the latest Installshield is giving me some
> headaches. 
> I've had a similar problem with the IMAP library,
> but
> most recently I'm seeing this with the HTTP library:
> 
> $ ./babel.rb README
> /usr/local/lib/ruby/1.6/net/protocol.rb:841:in
> `write': Invalid argument (Errno:
> :EINVAL)
>         from
> /usr/local/lib/ruby/1.6/net/protocol.rb:841:in
> `do_write'
>         from
> /usr/local/lib/ruby/1.6/net/protocol.rb:700:in
> `writeline'
>         from
> /usr/local/lib/ruby/1.6/net/protocol.rb:700:in
> `writing'
>         from
> /usr/local/lib/ruby/1.6/net/protocol.rb:700:in
> `writeline'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:866:in `request'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:852:in `exec'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:851:in `ready'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:851:in `exec'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:492:in
> `__send__'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:492:in `request'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:491:in
> `common_oper'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:491:in `request'
>         from
> /usr/local/lib/ruby/1.6/net/http.rb:464:in `get'
>         from ./babel.rb:15:in `translate'
>         from ./babel.rb:45:in `stupidize'
>         from ./babel.rb:60
> 
> Can anyone lend some thoughts?
> 
> Thanks,
> Chad
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/