method

run

run(command, config = {})
public

Executes a command returning the contents of the command.

Parameters

command

the command to be executed.

config

give :verbose => false to not log the status, :capture => true to hide to output. Specify :with to append an executable to command execution.

Example

inside('vendor') do
  run('ln -s ~/edge rails')
end