[英]Bundle command not found while deploying rails app in aws using mina
[英]Deploying ruby on rails app with mina
我在 public/uploads/attachments 中有一些附件文件,我想保留在生產服務器中,而不會在下一個部署過程中被 mina 覆蓋(以防我更改代碼)有沒有辦法保留附件而不被覆蓋? 請幫忙
先感謝您。
像這樣添加它:
set :shared_paths, ['config/database.yml', 'log', 'config/secrets.yml','public/uploads']
然后它將在共享文件夾中,並且不會在每次部署時替換
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.