teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

deployのプロセスにおいてどのコマンド実行時にエラーが発生したかを明示

2021/12/13 12:44

投稿

black_pasta1001
black_pasta1001

スコア19

title CHANGED
File without changes
body CHANGED
@@ -10,6 +10,8 @@
10
10
  ```
11
11
  $ bundle exec cap production deploy
12
12
 
13
+ deploy:migrating
14
+ 01 $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate
13
15
  01 rake aborted!
14
16
  01 NoMethodError: Cannot load database configuration:
15
17
  01 undefined method `[]' for nil:NilClass