0

我正在运行 rails 2.3.9 并尝试运行:

耙轨:模板位置= http://compass-style.org/rails/installer

将指南针安装到我现有的项目中。

我在 Windows vista 机器上,它给了我:

耙中止!禁止重定向: http: //github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb -> https://github.com/chriseppstein/compass/原始/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb

所以我尝试运行:

$ rake rails:template LOCATION= https://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb

但现在我得到:

applying  template: https://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb

耙中止!证书验证失败

4

1 回答 1

0

您遇到了 github 的问题,而不是指南针。Github 最近切换到 ssl,它导致使用这种安装的各种库出现一些问题。您正在使用 https url 作为克隆 url,您可能没有对其进行身份验证。尝试注销您的 github 帐户,然后返回 compass repo 主页并将 url 复制为公共 http url,或者使用 git 协议而不是 http。

于 2010-11-11T21:39:54.157 回答