我正在学习Capistrano(这是我学习的第二天)..我试图在digitalocean中部署我的rails test-app,但我在cap production deploy
中收到错误。 cap production deploy:check
已正确完成。
这是错误: 上限中止
SSHKit::Runner::ExecuteError: Exception while executing on host IP_ADDRESS: git exit status: 2
git stdout: Nothing written
git stderr: fatal: Not a valid object name
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
SSHKit::Command::Failed: git exit status: 2
git stdout: Nothing written
git stderr: fatal: Not a valid object name
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Tasks: TOP => git:create_release
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing on host IP_ADDRESS: git exit status: 2
git stdout: Nothing written
git stderr: fatal: Not a valid object name
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors