guard/guard — Issue #167: Any Return again...
Author: earlonrails
Created: 2011-10-17 16:29:09+00:00
State: open

Hey all,
I know this isn't the most pressing issue, but I am still having trouble with the any_return. Looks like changed_paths and deleted_paths are trying to use start_with?('!') but Arrays and Hashes don't have these methods. I was wondering what we/I should do about that.

bundle exec guard -d
>>>Turn off AMQP/RabbitMQ support...
Authenticating mongo...
Guard is now watching at '/Users/telmate/Documents/git_tygerweb/tygerweb'
DEBUG (16:25:44): Hook :start_begin executed for Guard::FtpGuard
Starting FtpGuarding
DEBUG (16:25:44): Hook :start_end executed for Guard::FtpGuard
/Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:283:in `changed_paths': undefined method `start_with?' for # (NoMethodError)
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:283:in `select'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:283:in `changed_paths'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:260:in `run_on_change_task'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:204:in `run_on_change'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:243:in `run_on_guards'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:242:in `each'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:242:in `run_on_guards'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:241:in `catch'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:241:in `run_on_guards'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:240:in `each'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:240:in `run_on_guards'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:203:in `run_on_change'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:220:in `run'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:217:in `synchronize'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:217:in `run'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:202:in `run_on_change'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:78:in `start_reactor'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:74:in `loop'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:74:in `start_reactor'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:73:in `initialize'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:73:in `new'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:73:in `start_reactor'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:65:in `initialize'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listeners/darwin.rb:10:in `initialize'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:36:in `new'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/listener.rb:36:in `select_and_init'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:60:in `setup'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard.rb:130:in `start'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/lib/guard/cli.rb:68:in `start'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/gems/guard-0.8.5/bin/guard:6
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/bin/guard:19:in `load'
from /Users/telmate/Documents/git_tygerweb/tygerweb/help/ruby/1.8/bin/guard:19