2015-02-05 31 views
0

我试图部署与capistrano到登台服务器。该命令失败都上部署和手动:捆绑安装失败,因为“没有这样的文件或目录”

cd .../apps/myapp/releases/20150205154326 && (RVM_BIN_PATH=/usr/local/rvm/bin/ PATH=/usr/bin/git:$PATH /usr/local/rvm/bin/rvm default do bundle install --path .../apps/myapp/shared/bundle --without development test --deployment --quiet)

错误:

Git error: command 'git clone --no-checkout --quiet ".../apps/myapp/shared/bundle/ruby/2.1.0/cache/bundler/git/fog- 8836460df0e4c80347618efd3adda34209f0c6f7" ".../apps/myapp/shared/bundle/ruby/2.1.0/bundler/gems/fog- 5ceace13efe1"' in directory .../apps/myapp/releases/20150205154326 has failed. If this error persists you could try removing the cache directory '.../apps/myapp/shared/bundle/ruby/2.1.0/cache/bundler/git/fog-8836460df0e4c80347618efd3adda34209f0c6f7'

然而,这种目录存在,且权限都OK。我试图删除它并再次运行,但无济于事。

回答

0

通过重新安装捆绑器和rvm解决

相关问题