-
Notifications
You must be signed in to change notification settings - Fork 42
Description
When I try to call Beaneater.new with teh env variable set I get this:
ArgumentError: wrong number of arguments (given 0, expected 1)
/path/vendor/bundle/ruby/2.5.0/gems/beaneater-1.0.0/lib/beaneater.rb:24:in `initialize'
I assume that's not intended. When I adjusted both of these:
/path/vendor/bundle/ruby/2.5.0/gems/beaneater-1.0.0/lib/beaneater/connection.rb: def initialize(address)
/path/vendor/bundle/ruby/2.5.0/gems/beaneater-1.0.0/lib/beaneater.rb: def initialize(address)
To be address = nil it works. However, I don't know how we want to solve that problem. At the moment I'm solving it like this:
Beaneater.new(ENV['BEANSTALKD_URL'])
Which I doubt is the intended behavior. I'm assuming no one uses this ENV at this point as it seems to not work.