Class Hydra::SyncTask
In: lib/hydra/tasks.rb
Parent: Hydra::Task

Define a sync task that uses hydra to rsync the source tree under test to remote workers.

This task is very useful to run before a remote db:reset task to make sure the db/schema.rb file is up to date on the remote workers.

  Hydra::SyncTask.new('hydra:sync') do |t|
    t.verbose = false # optionally set to true for lots of debug messages
  end

Methods

new  

Public Class methods

[Validate]