1

I have tried to add attachments to linked directories in my deploy.rb, but the links to images still vanish after every deploy on Linode.

What should I do to keep image links after deployment?

R Milushev
  • 4,295
  • 3
  • 27
  • 35
  • Do the images in the attachments directory still exist, or is your deploy overwriting it? – trh Apr 04 '16 at 21:57
  • After deploy images in `tmp/uploads/store` vanish. Which made me think about including `tmp/uploads/store` and `tmp/uploads/cache` in `linked_dirs` in my `deploy.rb`. – R Milushev Apr 04 '16 at 22:13

1 Answers1

1

The problem with vanishing assets is solved, credits goes to @wkurosawa, he was so kind to help me with this issue. Just have to add tmp/uploads/cache and tmp/uploads/store to linked_dirs in deploy.rb.

R Milushev
  • 4,295
  • 3
  • 27
  • 35