ROR Capistrano在db:migrate上无法部署

时间:2017-11-07 08:38:29

标签: ruby-on-rails activerecord deployment capistrano

我必须将新功能部署到我的登台服务器。 所以我像往常一样运行bundle exec cap staging deploy

但是这次它给我发了这个错误:

** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:

DEBUG [66e17bbb]    /home/municipiumstage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:952:in `migrate'
DEBUG [66e17bbb]    /home/municipiumstage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `up'
DEBUG [66e17bbb]    /home/municipiumstage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:798:in `migrate'
DEBUG [66e17bbb]    /home/municipiumstage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
DEBUG [66e17bbb]    /home/municipiumstage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
DEBUG [af711402]    Tasks: TOP => db:migrate
DEBUG [873c7135]    (See full trace by running task with --trace)

有人可以解释我的问题是什么,也许如何解决?谢谢!

0 个答案:

没有答案
相关问题