|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors newbie
Join Date: Jun 2007
|
Setting up Deployment for Ruby on Rails
I am in the process of doing a deployment install using Mac OSX Workstation and Ubuntu 6.0.6LTS Server and using the Capistrano Concepts video from Peepcode.
I currently have the following installed on the Mac: Readline-5.1 Ruby-1.8.6 Ruby Gems 0.9.4 Rails mongrel subversion capistrano termios MySQL and the deprec gems. When I run the cap deploy_with_migrations or try to svn commit I get the following 3 errors: ***************************************** * executing task deploy * executing task update ** transaction: start * executing task update_code * querying latest revision... * executing "if [[ ! -d /var/www/apps/demo4/releases/20070616020524 ]]; then\n svn co --no-auth-cache -q -r4 svn+ssh://dev@192.168.1.106/var/www/apps/demo4/repos/trunk /var/www/apps/demo4/releases/20070616020524 &&\n (test -e /var/www/apps/demo4/revisions.log || (touch /var/www/apps/demo4/revisions.log && chmod 666 /var/www/apps/demo4/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 4 20070616020524 >> /var/www/apps/demo4/revisions.log;\n fi" servers: ["192.168.1.106"] [192.168.1.106] executing command ** [out :: 192.168.1.106] dev@192.168.1.106's password: ** [out :: 192.168.1.106] subversion is asking for a password Password: ** [out :: 192.168.1.106] dev@192.168.1.106's password: ** [out :: 192.168.1.106] subversion is asking for a password ** [out :: 192.168.1.106] dev@192.168.1.106's password: ** [out :: 192.168.1.106] subversion is asking for a password command finished * executing task set_permissions * executing "chmod -R g+w /var/www/apps/demo4/releases/20070616020524" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished * executing "rm -rf /var/www/apps/demo4/releases/20070616020524/log /var/www/apps/demo4/releases/20070616020524/public/system &&\n ln -nfs /var/www/apps/demo4/shared/log /var/www/apps/demo4/releases/20070616020524/log &&\n ln -nfs /var/www/apps/demo4/shared/system /var/www/apps/demo4/releases/20070616020524/public/system" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished * executing "test -d /var/www/apps/demo4/shared/pids && \n rm -rf /var/www/apps/demo4/releases/20070616020524/tmp/pids && \n ln -nfs /var/www/apps/demo4/shared/pids /var/www/apps/demo4/releases/20070616020524/tmp/pids; true" servers: ["192.168.1.106"] [192.168.1.106] executing command ***************************** ** [out :: 192.168.1.106] ln: creating symbolic link `/var/www/apps/demo4/releases/20070616020524/tmp/pids' to `/var/www/apps/demo4/shared/pids': No such file or directory command finished ********************************* * executing "TZ=UTC find /var/www/apps/demo4/releases/20070616020524/public/images /var/www/apps/demo4/releases/20070616020524/public/stylesheets /var/www/apps/demo4/releases/20070616020524/public/javascripts -exec touch -t 200706160205.33 {} \\;; true" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished * executing task symlink * executing "ls -x1 /var/www/apps/demo4/releases" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished * executing "ln -nfs /var/www/apps/demo4/releases/20070616020524 /var/www/apps/demo4/current" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished ******************************** * executing task after_symlink * executing task set_perms_for_mongrel_dirs * executing "sudo chgrp -R app_demo4 /var/www/apps/demo4/current/tmp /var/www/apps/demo4/shared" servers: ["192.168.1.106"] [192.168.1.106] executing command ** [out :: 192.168.1.106] chgrp: ** [out :: 192.168.1.106] cannot access `/var/www/apps/demo4/current/tmp' ** [out :: 192.168.1.106] : No such file or directory command finished ******************************* *** [set_perms_for_mongrel_dirs] transaction: rollback * [set_perms_for_mongrel_dirs] rolling back * [after_symlink] rolling back * [symlink] rolling back * executing "ln -nfs /var/www/apps/demo4/releases/20070616013433 /var/www/apps/demo4/current" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished * [set_permissions] rolling back * [update_code] rolling back * executing "rm -rf /var/www/apps/demo4/releases/20070616020524" servers: ["192.168.1.106"] [192.168.1.106] executing command command finished ********************************** command "sudo chgrp -R app_demo4 /var/www/apps/demo4/current/tmp /var/www/apps/demo4/shared" failed on 192.168.1.106 *************************************** If anyone has any feedback as to resolving this error it would be greatly appreciated. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|