使用Capistrano在DigitalOcean中部署Rails应用程序

时间:2015-05-01 14:44:47

标签: ruby-on-rails ruby capistrano digital-ocean capistrano3

我正在学习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

0 个答案:

没有答案