I've been trying to get my app running on Rails edge per the instructions on Mike Clark's blog (http://clarkware.com/cgi/blosxom/2007/01/18), specifically per the last section of that post.
I've got edge working fine on my local machine, and I've set svn to ignore vendor/rails so that it doesn't get exported every time I redeploy to the production machine. I'm using Rick Olson's deploy_edge rake task (http://svn.techno-weenie.net/projects/mephisto/trunk/lib/tasks/common.rake), called from an after_update_code cap hook. The task gets called fine - but I run into the following error: ** [out :: site.com] (in /var/www/apps/theapp/releases/20070822204440) ** [out :: site.com] setting up rails trunk ** [out :: site.com] mkdir -p ../../shared/rails/trunk/railties ** [out :: site.com] rake aborted! ** [out :: site.com] Permission denied - ../../shared/rails I ssh'd in to check the permissions: [EMAIL PROTECTED]:/var/www/apps/theapp$ ls -l total 12 lrwxrwxrwx 1 deploy users 44 Aug 21 17:32 current -> /var/www/apps/theapp/releases/20070821173121 drwxrwxr-x 75 deploy deploy 4096 Aug 22 20:46 releases -rw-rw-rw- 1 deploy users 3273 Aug 22 20:46 revisions.log drwxrwxr-x 6 root app_theapp 4096 Jun 11 21:20 shared I've run into permissions problems with other apps in the past, and whenever I try to fix them I end up royally screwing things up - so I was wondering if anyone has run into this problem before and could suggest a fix. I'm also open to any suggestions on other ways to automatically deploy to edge without exporting the entire rails source on each deploy. Thanks, - Mark -- Posted via http://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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---
