Top Level Namespace
Defined Under Namespace
Modules: Traktor
Instance Method Summary collapse
Instance Method Details
#console(cmd) ⇒ Object
17 18 19 20 |
# File 'lib/helpers.rb', line 17 def console(cmd) info "ssh #{domain} -t '#{cmd}'" system "ssh #{domain} -t '#{cmd}'" end |
#rake(target) ⇒ Object
11 12 13 14 15 |
# File 'lib/helpers.rb', line 11 def rake(target) res = "cd #{current_release} && #{rake_cmd} RACK_ENV=#{rails_env} #{target}" puts res res end |
#remove_task(task_name) ⇒ Object
7 8 9 |
# File 'lib/helpers.rb', line 7 def remove_task(task_name) Rake.application.remove_task(task_name) end |