拿源代码,换了一台服务器部署,mina setup 然后配置好 databases.yml。。。等等文件后,运行 mina deploy,报一下错误是什么原因?
Gems in the groups development and test were not installed.
Bundled gems are installed into `./vendor/bundle`
-----> Migrating database
rake aborted!
Errno::EEXIST: File exists @ dir_s_mkdir - public/upload
/var/www/xxxxx.com/tmp/build-155800310414334/vendor/bundle/ruby/2.3.0/gems/shrine-2.6.1/lib/shrine/storage/file_system.rb:120:in `initialize'
/var/www/xxxxx.com/tmp/build-155800310414334/config/initializers/shrine.rb:6:in `new'
/var/www/xxxxx.com/tmp/build-155800310414334/config/initializers/shrine.rb:6:in `<top (required)>'
......
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
! ERROR: Deploy failed.
-----> Cleaning up build
Unlinking current
求指导