0

当我尝试部署到我新设置的服务器时,capistrano 向我抛出了这个问题。

*** [err :: fupifarvandet.dk] fatal: Could not parse object '22e2458b77519e8eb8463170c1a1fe4bab105f3e'.
 ** [out :: fupifarvandet.dk] Git error: command `git reset --hard 22e2458b77519e8eb8463170c1a1fe4bab105f3e` in directory /var/www/apps/fupifarvandet.dk/shared/bundle/ruby/1.9.1/bundler/gems/compass-22e2458b7751 has failed.
 ** [out :: fupifarvandet.dk] If this error persists you could try removing the cache directory '/var/www/apps/fupifarvandet.dk/shared/bundle/ruby/1.9.1/cache/bundler/git/compass-dcbe0c41f22c777e90babfa80d61f78dfdea41b2'

这是来自我的Gemfile

gem 'compass', git: 'git://github.com/chriseppstein/compass.git', branch: 'rails31'

做什么?

4

1 回答 1

2

rails3.1这是因为github上没有分支。尝试gem 'compass', '~> 0.12.alpha'

于 2011-09-25T17:34:39.750 回答