On Thu, Apr 29, 2010 at 10:06 PM, Mark <[email protected]> wrote: > Hi > > Somehow my log directory path is relative and as such raises the > following error > > Rails Error: Unable to access log file. Please ensure that /var/sites/ > t/txyze.com/txyze/releases/20100429195125/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. > > Instead of this: > lrwxrwxrwx 1 txyze 3649 20 Apr 29 20:51 log -> txyze/shared/log > > I need the full path > lrwxrwxrwx 1 txyze 3649 20 Apr 29 20:51 log -> /var/sites/t/ > txyze.com/txyze/shared/log > > set :application, "txyze" > set :domain, "x" > set :repository, "x" > set :scm, :git > set :scm_username, "x" > set :use_sudo, false > set :deploy_to, "txyze"
Set a proper :deploy_to path, a full path, not a relative one like txyze. Cheers, Mathias -- http://paperplanes.de http://twitter.com/roidrage -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
