0
好的,我的部署有很多問題,但我現在要專注於一個問題。Rails 3.爲什麼Capistrano將index.html文件添加到我的公用文件夾中?
當我部署時,我忘了將設置添加到命令cap deploy:set
因此我輸入cap deploy
。我不知道它與它有什麼關係。
所以每次部署時會發生什麼,我的公用文件夾中有一個index.html文件。 whyyyy?
好的,我的部署有很多問題,但我現在要專注於一個問題。Rails 3.爲什麼Capistrano將index.html文件添加到我的公用文件夾中?
當我部署時,我忘了將設置添加到命令cap deploy:set
因此我輸入cap deploy
。我不知道它與它有什麼關係。
所以每次部署時會發生什麼,我的公用文件夾中有一個index.html文件。 whyyyy?
沒關係,用下面的命令
git commit -a -m 'delete public/index.html file'