Thanks for your help guys!

I finally got it working.

On Monday, January 28, 2013 5:56:45 PM UTC+1, dbray wrote:
>
> In myapp1 use a 'after "deploy:update", "deploy:configure_images"'
>
> In that task you handle the prerequisite. 
>
> Either it's symlink to the images directory if myapp2 is located somewhere 
> else on the box. 
>
> If myapp2 is only installed to be consumed by myapp1 you may want to use a 
> helper like git-clone-or-pull from here to put it in the shared or a common 
> location.
>
>
> https://github.com/donnoman/cap-recipes/blob/master/lib/cap_recipes/tasks/utilities.rb#L284
>
> An example of it being used is here: 
>
>
> https://github.com/donnoman/cap-recipes/blob/master/lib/cap_recipes/tasks/nginx/install.rb#L125
>
> On Jan 28, 2013, at 5:39 AM, Boris Quiroz <bori...@gmail.com <javascript:>> 
> wrote:
>
> Hi,
>
> I'm new here and I've a question that could be really silly, so any RTFM 
> is welcome.
>
> I've a rails app, let's say github.com:Boris/MyApp1 but when I deploy it 
> I've to include some images located on github.com:Boris/MyApp2 so when 'cap 
> deploy' runs I got following error:
>
> *** [err :: 10.0.1.95] find:
> *** [err :: 10.0.1.95] `/srv/MyApp1/releases/20130128133020/public/images '
> *** [err :: 10.0.1.95] : No such file or directory
>
> Is there any way, maybe with before task, that fetch the content of 
> "public/images" and then run 'cap deploy'?
>
> Thanks for your help!
>
> -- 
> -- 
> * You received this message because you are subscribed to the Google 
> Groups "Capistrano" group.
> * To post to this group, send email to capis...@googlegroups.com<javascript:>
> * To unsubscribe from this group, send email to 
> capistrano+...@googlegroups.com <javascript:> For more options, visit 
> this group at http://groups.google.com/group/capistrano?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to capistrano+...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to