Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant Beanstalk::Connection (NameError) #8

Open
abbood opened this issue Feb 23, 2018 · 0 comments
Open

uninitialized constant Beanstalk::Connection (NameError) #8

abbood opened this issue Feb 23, 2018 · 0 comments

Comments

@abbood
Copy link

abbood commented Feb 23, 2018

I'm running two ec2 instances that are running beanstalkd queues each (using a cron job).. If i do a ps aux | grep bean i get this on machine 1 (where the error happens):

beansta+ 19472  0.0  0.0  23776  3172 ?        Ss   Feb08   8:26 /usr/bin/beanstalkd -l 0.0.0.0 -p 11300

and this on machine 2 (where it's working fine):

beansta+ 21172  0.0  0.0  23660  3084 ?        Ss   Feb02   8:13 /usr/bin/beanstalkd -l 0.0.0.0 -p 11300

bubut when i run

./beanstalk-queue-stats.rb localhost:11300

on machine 1, I get this error:

./beanstalk-queue-stats.rb:6:in `<main>': uninitialized constant Beanstalk::Connection (NameError)

which means it's failing here B = Beanstalk::Connection.new $*[0]

note: I've verified that my local and global gems are identical on both instances:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant