When you create the symlink, use the full path from the
root.
On Feb 15, 10:12 am, "s.ross"
<ruby-forum-incom... andreas-s.net>
wrote:
> I'm deploying as root and for some reason I'm getting a
failure in the
> symlink part of the task. I have zero custom recipes.
All that's changed
> in the deploy.rb is the server name and svn repo.
>
> Any thoughts about why this might be failing?
>
> Thanks
>
> * executing task set_permissions
> * executing "chmod -R g+w
>
/var/www/rails/greatwhite/releases/20070215170750"
> servers: ["hammerhead.com"]
> [hammerhead.com] executing command
> command finished
> * executing "rm -rf
> /var/www/rails/greatwhite/releases/20070215170750/log
>
/var/www/rails/greatwhite/releases/20070215170750/public/sys
tem &&n
> ln -nfs /var/www/rails/greatwhite/shared/log
> /var/www/rails/greatwhite/releases/20070215170750/log
&&n ln -nfs
> /var/www/rails/greatwhite/shared/system
>
/var/www/rails/greatwhite/releases/20070215170750/public/sys
tem"
> servers: ["hammerhead.com"]
> [hammerhead.com] executing command
> ** [out :: hammerhead.com] ln:
> ** [out :: hammerhead.com] creating symbolic link
>
`/var/www/rails/greatwhite/releases/20070215170750/public/sy
stem' to
> `/var/www/rails/greatwhite/shared/system'
> ** [out :: hammerhead.com] : No such file or
directory
> command finished
> *** [set_permissions] transaction: rollback
>
> --
> Posted viahttp://www.ruby-forum.com
/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deployment googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---
|