2020-04-06から1日間の記事一覧
発生した問題 Capistranoでデプロイコマンドを叩くと次のエラーが出る。 $ bundle exec cap production deploy (Backtrace restricted to imported tasks) cap aborted! ArgumentError: wrong number of arguments (given 4, expected 1..2) Tasks: TOP => p…
デプロイのプリコンパイル時に出るエラー。 ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit` 解決 まず、OSにエディタの設定をしていなければする。 export EDITOR=vim 普通にrails…
Capistrano3のデプロイを学ぶのに、次の記事が大変参考になった。 Capistrano 3によるRails 5.2 + puma + nginxのデプロイをステップバイステップで学ぶ - Qiita しかし、個人的に詰まったところがいくつかあったので、メモに残しておく。 SSH接続ができない…
発生した問題1 Capistrano でデプロイしようとしたら、次のエラーが出た。 OpenSSH keys only supported if ED25519 is available (NotImplementedError) net-ssh requires the following gems for ed25519 support: * ed25519 (>= 1.2, < 2.0) * bcrypt_pbk…