class Sprinkle::Installers::Rake

This installer runs a rake task.

Example Usage

The following example runs the command “rake spec” on the remote server. Specify an optional Rakefile with the :rakefile option.

package :spec do
  rake 'spec', :file => "/var/setup/Rakefile"
end

Public Instance Methods

rake(task, options = {}, &block) click to toggle source
# File lib/sprinkle/installers/rake.rb, line 17
def rake(task, options = {}, &block)
  install Rake.new(self, task, options, &block)
end