LoginSignup
8
8

More than 5 years have passed since last update.

Capistranoで"Could not parse object"

Last updated at Posted at 2012-06-15

RVM 1.14.2
Ruby 1.9.3p194

capistrano (2.12.0)
capistrano-ext (1.2.1)

--

こんなふうにでたんよ。

fatal: Could not parse object '789740e97a03558cf252c988b50b05a331dea386'.
deploy.rb
set :deploy_via, :remote_cache

参考
Deploying with Capistrano
https://help.github.com/articles/deploying-with-capistrano

remote_cacheってのはremoteサーバーにgitリポジトリをlocalに作って、
デプロイの度にクローンするんじゃなくて差分だけ落とすだけにする方法。
そのリポジトリが壊れた可能性があるから、それを消そうって解決策が載ってた。
https://groups.google.com/group/capistrano/browse_thread/thread/60de741e9691de12

cd shared/
rm -rf cached-copy/

で解決した。

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8