But "#{release_path}/public/images/users" will still be symlinked to "#{shared_path}/users #{release_path}/public/images/users" and the "r" option will remove all files in that directory so I would just remove the "r" option and you should be OK. No???
On Nov 3, 11:10 am, Freddy Andersen <[EMAIL PROTECTED]> wrote: > Hi Tony... the rm line is only there for the release_path directory > which either will have the symlink OR an empty directory that was > checked-out from git. If the developers wants a few "test" images in > git for testing you can do that but need to remove that when it is > deployed to prod before you create the symlink... > > #{release_path} is the /releases/datestamp/ directory... --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---