The problem had to due to line endings. On a Windows machine it appears that the protocol.rb file allows you to pass in parameters with a CRLF on the end. It works! On a Linux machine it didn't. Solution: I 'chomp'ed the line endings off. Zach
The problem had to due to line endings. On a Windows machine it appears that the protocol.rb file allows you to pass in parameters with a CRLF on the end. It works! On a Linux machine it didn't. Solution: I 'chomp'ed the line endings off. Zach
1.Linux protocol.rb and smtp.rb problem
I am moving my ruby program file from my winbox to my linux( redhat 9 ) box. I've got ruby 1.8.1 installed on my linux box. However when I run my script the following lines error out: smtp = Net::SMTP::new( server ) smtp.start( domain , username , password , "cram_md5" ) It complains about: /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'initialize': getaddrinfo: Name or service not known( SocketError ) from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'new' from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'connect' from /usr/local/lib/ruby/1.8/net/protocol.rb:82:in 'timeout' etc...etc...etc... It works beautifully on my Windows box. Any ideas? Zach
2.Linux protocol.rb and smtp.rb problem: IPv6? no
3.RB+VW7.1 refresh problem under Linux
4.RB apps on Handhelds iPaq + Linux?
Has anyone been successful running a compiled Linux RB app on a handheld?
Users browsing this forum: No registered users and 97 guest