Lucas,
What operating system are you deploying to? Some OS's, like solaris,
don't work with the default symlink command that capistrano uses.
You'll need to override the symlink task so that it physically
removes the symlink first, and then recreates it:
task :symlink, :except => { :no_deploy => true } do
run "rm #{current_path}; ln -s #{release_path} #{current_path}"
end
- Jamis
On Jun 4, 2007, at 10:40 AM, Lucas Florio wrote:
> Good day everybody,
>
> I am sure this problem has already come up in this list, so thereÅ›
> got to be a simple solution, but I cant figure it out.
>
> Everytime I execute cap _1.4.1_ deploy the process runs smoothly,
> but in the current directory I have this:
>
> lrwxrwxrwx 1 probono staff 73 Jun 4 16:11
> 20070604161106 -> /home/probono/apps/www.miappp.com/releases/
> 20070604161106/
> lrwxrwxrwx 1 probono staff 73 Jun 4 16:17
> 20070604161704 -> /home/probono/apps/www.miappp.com/releases /
> 20070604161704/
> lrwxrwxrwx 1 probono staff 73 Jun 4 16:25
> 20070604162501 -> /home/probono/apps/www.miappp.comr/releases/
> 20070604162501/
> lrwxrwxrwx 1 probono staff 73 Jun 4 16:26
> 20070604162607 -> /home/probono/apps/www.miappp.com/releases/
> 20070604162607/
> drwxrwxr-x 7 probono staff 7 May 25 20:17 app/
> ....
>
> To solve the problem I have delete de current symlink and execute
> again cap _1.4.1_ deploy...
>
> I have other projects running without problems with a similar recipe.
> Anybody knows hot to fix this?
>
> Thanks in advance
>
> Best Regards
> --
> Lucas Florio . I T S o l u t i o n s D e v e l o p e r
> Ruby On Rails Argentina.
> http://blogs.onrails.com.ar
> >
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---