jefmathiot / electric_sheep

A simple network backup system
http://electricsheep.io
MIT License
19 stars 5 forks source link

undefined local variable or method `logger' #2

Closed duckmole closed 10 years ago

duckmole commented 10 years ago

An error occurs on my single project :

➜  test  bundle exec electric_sheep work -p greenlantern-mongodb -v
[2014-11-17T17:29:05.492 INFO (12557) #] Executing "GreenLantern Database Dump" (greenlantern-mongodb)
[2014-11-17T17:29:05.493 INFO (12557) #] Starting a remote shell session for deploy@db.ozact.servebox.net on port 22
[2014-11-17T17:29:05.493 ERROR (12557) #] undefined local variable or method `logger' for #<ElectricSheep::Runner::SingleRun:0x007f01708d9b68>
[2014-11-17T17:29:05.494 DEBUG (12557) #] NameError: undefined local variable or method `logger' for #<ElectricSheep::Runner::SingleRun:0x007f01708d9b68>
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/rescueable.rb:7:in `rescue in rescued'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/rescueable.rb:4:in `rescued'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/runner.rb:23:in `block (2 levels) in run!'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/queue.rb:29:in `each_item'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/runner.rb:22:in `block in run!'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/metadata/metered.rb:12:in `benchmarked'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/runner.rb:18:in `run!'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/runner.rb:97:in `run'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/runner.rb:92:in `run_single!'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/runner.rb:76:in `run!'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/cli.rb:40:in `block in work'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/rescueable.rb:4:in `rescued'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/lib/electric_sheep/cli.rb:35:in `work'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bundler/gems/electric_sheep-8f56b31f95ca/bin/electric_sheep:6:in `<top (required)>'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bin/electric_sheep:23:in `load'
> [#]   /home/fab/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/bin/electric_sheep:23:in `<main>'