# If gems are not installed eq(first deploy) and sneakers_default_hooks as active
warn'sneakersctl not found (ignore if this is the first deploy)'
end
end
end
defstart_sneakers(pid_file,idx=0)
iffetch(:sneakers_run_config)==true
# Use sneakers configuration prebuilt in
raise"[ set :workers, ['worker1', 'workerN'] ] not configured properly, please configure the workers you wish to use"iffetch(:sneakers_workers).nil?orfetch(:sneakers_workers)==falseor!fetch(:sneakers_workers).kind_of?Array
raise"[ set :workers, ['worker1', 'workerN'] ] not configured properly, please configure the workers you wish to use"iffetch(:sneakers_workers).nil?orfetch(:sneakers_workers)==falseor!fetch(:sneakers_workers).kind_of?Array