Daniel Drehmer wrote:
> I have a directory for images uploaded through the admin page of my
> app.
> 
> But whenever I redeploy the app, the images in my local environment
> overwrite those in the server (which is pretty much expected, although
> undesirable).
> 
> I already tried using .gitignore and the exclude file to ignore the
> folder, but it ends up erasing all the images of the folder in the
> production environment after the deploy, which is even worse.
> 
> How do I configure git or the cap script to prevent this behavior (of
> my local images overwriting the online ones after deploy)?

Look at how cap deals with shared/log, then do something similar.  I 
have code I can share if necessary.

> Sorry for any english mistakes� I�m not from an english speaking
> country.

Your English is fine!

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to