Undefined method called when sync folder is being synced with a vagrant machine which is not active
Closed this issue · 2 comments
Whenever any synced folders are changed which are being synced with a machine which is not running the below undefined method happens. Noticeable when a synced folder is synced with more than one machine, one is running and the rest are not.
/Users/matthewking/.rvm/gems/ruby-2.0.0-p195/gems/vagrant-1.6.0.dev/plugins/synced_folders/rsync/helper.rb:57:in rsync_single': undefined method
[]' for nil:NilClass (NoMethodError)
from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/command/rsync_auto.rb:123:in block (2 levels) in callback' from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/command/rsync_auto.rb:121:in
each'
from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/command/rsync_auto.rb:121:in block in callback' from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/command/rsync_auto.rb:120:in
each'
from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/command/rsync_auto.rb:120:in callback' from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/listen/listenosx.rb:47:in
call'
from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/listen/listenosx.rb:47:in block in run' from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/listen/listenosx.rb:31:in
loop'
from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/listen/listenosx.rb:31:in run' from /Users/matthewking/.vagrant.d/gems/gems/vagrant-gatling-rsync-0.0.2/lib/vagrant-gatling-rsync/command/rsync_auto.rb:77:in
execute'
from /Users/matthewking/.rvm/gems/ruby-2.0.0-p195/gems/vagrant-1.6.0.dev/lib/vagrant/cli.rb:42:in execute' from /Users/matthewking/.rvm/gems/ruby-2.0.0-p195/gems/vagrant-1.6.0.dev/lib/vagrant/environment.rb:248:in
cli'
from /Users/matthewking/.rvm/gems/ruby-2.0.0-p195/gems/vagrant-1.6.0.dev/bin/vagrant:166:in <top (required)>' from /Users/matthewking/.rvm/gems/ruby-2.0.0-p195/bin/vagrant:23:in
load'
from /Users/matthewking/.rvm/gems/ruby-2.0.0-p195/bin/vagrant:23:in `
#5 Fix
Duplicated with #5