Skip to content

Instantly share code, notes, and snippets.

@rlmattax
Created December 15, 2010 14:58
Show Gist options
  • Save rlmattax/742038 to your computer and use it in GitHub Desktop.
Save rlmattax/742038 to your computer and use it in GitHub Desktop.
* executing "cd /var/www/current && sudo -p 'sudo password: ' -u app nohup script/spin"
servers: ["184.73.245.53"]
[184.73.245.53] executing command
*** [err :: 184.73.245.53] sudo
*** [err :: 184.73.245.53] :
*** [err :: 184.73.245.53] unknown user: app
*** [err :: 184.73.245.53]
command finished
blargh
this is my config/deploy.rb
set :application, "author-solutions"
set :repository, "gitorious@git.developertown.com:author-solutions/alc.git"
set :deploy_to, "/var/www"
set :scm, :git
set :user, "www-data"
#set :scm_username, "deploy"
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
role :web, "184.73.245.53" # Your HTTP server, Apache/etc
role :app, "184.73.245.53" # This may be the same as your `Web` server
role :db, "184.73.245.53", :primary => true # This is where Rails migrations will run
any ideas?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment