RailsアプリをVPSにデプロイしようとしていで
$ bundle exec cap production deploy を実行しました。
そしたらgit関係と思われるエラーがでてしまい解決できずに困っています。エラーの内容は以下になります。
(Backtrace restricted to imported tasks) cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as panda@XXXX-gate.com: git exit status: 128 git stdout: fatal: Not a git repository (or any of the parent directories): .git git stderr: Nothing written SSHKit::Command::Failed: git exit status: 128 git stdout: fatal: Not a git repository (or any of the parent directories): .git git stderr: Nothing written Tasks: TOP => deploy:set_current_revision => git:set_current_revision (See full trace by running task with --trace)
サイトで調べてみたのですが、解決方法にたどり着けていません。
どなたかご教示の程宜しくお願いします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。