Skip to content

Instantly share code, notes, and snippets.

@burtlo
Created June 24, 2013 16:30
Show Gist options
  • Save burtlo/5851405 to your computer and use it in GitHub Desktop.
Save burtlo/5851405 to your computer and use it in GitHub Desktop.
server "runtalk", :primary
default_run_options[:shell] = '/bin/bash'
# role :web, "digital"
# role :chat, "digital"
# role :api, "digital"
desc "echo"
task :echo do
run "ls -l ; echo 'hello'"
run "touch logged_in"
end
task :start_server do
run "cd ~/runtalk/runtalk-chat && rackup private_pub.ru"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment