topfunky (owner)

Revisions

gist: 22181 Download_button fork
public
Public Clone URL: git://gist.github.com/22181.git
Embed All Files: show embed
ruby-error.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
irb> require 'rubygems'; require 'beanstalk-client';
irb> p = Beanstalk::Pool.new(['localhost:11300'])
EOFError: EOFError
 
irb> p.put "hello"
 
EOFError: EOFError
EOFError: EOFError
SocketError: getaddrinfo: Name or service not known
Beanstalk::NotConnected: Beanstalk::NotConnected
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib/beanstalk-client/connection.rb:373:in `pick_connection'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib/beanstalk-client/connection.rb:364:in `send_to_rand_conn'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib/beanstalk-client/connection.rb:348:in `retry_wrap'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib/beanstalk-client/connection.rb:364:in `send_to_rand_conn'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib/beanstalk-client/connection.rb:257:in `yput'
from (irb):7
from /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:29