I am also facing the same problem.
I think there is an issue with xmpp4r.
Can anyone give any solution????



Thanks and Regards
Lokesh Agrawal



Pat Kiatchaipipat wrote:
> Hi. I'm mew user of xmpp4r. After I install xmpp4r and xmpp4r-sample
> completely.
> 
> and I go to C:\Program
> Files\Ruby\lib\ruby\gems\1.8\gems\xmpp4r-0.3.2\data\doc\xmpp4r\examples\basic
> 
> that I found many example program and I choose change_password.rb to
> work in command line.
> 
> then I type
> 
> change_password l3litzer / gmail.com ***my old password*** ***my new
> password***
> 
> and It's not responding message for long time and show me error like
> this
> 
> 
> 
> Connecting... Error: Bad file descriptor - connect(2)
> ../../../../../lib/xmpp4r/connection.rb:60:in `initialize': Bad file
> descriptor
> - connect(2) (Errno::EBADF)
>         from ../../../../../lib/xmpp4r/connection.rb:60:in `new'
>         from ../../../../../lib/xmpp4r/connection.rb:60:in `connect'
>         from ../../../../../lib/xmpp4r/client.rb:71:in `connect'
>         from C:/Program
> Files/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.3.2/data/doc/
> xmpp4r/examples/basic/change_password.rb:37
>         from C:/Program
> Files/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.3.2/data/doc/
> xmpp4r/examples/basic/change_password.rb:16:in `with_status'
>         from C:/Program
> Files/Ruby/lib/ruby/gems/1.8/gems/xmpp4r-0.3.2/data/doc/
> xmpp4r/examples/basic/change_password.rb:37
> 
> C:\Program
> Files\Ruby\lib\ruby\gems\1.8\gems\xmpp4r-0.3.2\data\doc\xmpp4r\exampl
> es\basic>
> 
> 
> how can I solve this problem???

-- 
Posted via http://www.ruby-forum.com/.