【问题标题】:Capistrano error on bundling compass from git从 git 捆绑指南针时出现 Capistrano 错误
【发布时间】:2011-09-25 17:28:56
【问题描述】:

当我尝试部署到我新设置的服务器时,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'

做什么?

【问题讨论】:

    标签: ruby git capistrano bundler compass-geolocation


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-03
      • 1970-01-01
      • 1970-01-01
      • 2013-09-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多