Hi,

I use an after_update_code task to set the user permissions to the user
that's supposed to run the app so that everybody that is in the users
group can deploy.

When I try to deploy with migrations this happens:

Rails Error: Unable to access log file. Please ensure that
/home/itender/app/releases/20061114115955/config/../log/production.log
exists and is chmod 0666. The log level has been raised to WARN and the
output directed to STDERR until the problem is fixed.

/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/command.rb:45:in
`process!': command "cd /home/test/app/releases/20061114115955 && rake
RAILS_ENV=production  migrate" failed on test (RuntimeError)

Is there a handy way to get the migrate task to either sudo or change
to the right user?


Thanks

Thijs


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to