设置轨道指南针
我正在运行 Rails 2.3.9 并尝试运行:
rakerails:template LOCATION=http://compass- style.org/rails/installer
将指南针安装到我现有的项目中。
我在 Windows Vista 机器上,它给我:
rake 中止! 禁止重定向: http ://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb -> https:// github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb
所以我尝试运行:
$ rakerails: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
rake 中止! 证书验证失败
I am running rails 2.3.9 and trying to run:
rake rails:template LOCATION=http://compass-style.org/rails/installer
to install compass into my existing project.
I am on a Windows vista machine and it's giving me:
rake aborted!
redirection forbidden: http://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb -> https://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb
So I tried to run:
$ rake rails:template LOCATION=https://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb
but now I get:
applying template: https://github.com/chriseppstein/compass/raw/master/lib/compass/app_integration/rails/templates/compass-install-rails.rb
rake aborted!
certificate verify failed
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你遇到了 github 的问题,而不是 compass 的问题。 Github 最近转向了 ssl,它给使用这种安装的各种库带来了一些问题。您正在使用 https url 作为克隆 url,您可能没有对其进行身份验证。尝试注销您的 github 帐户,然后返回 compass 存储库主页并将 url 复制为公共 http url,或使用 git 协议而不是 http。
you are running into an issue with github, not compass. Github recently switched to ssl and it has caused some problems with various libraries that use this kind of installation. you are using an https url as the clone url, which you probably don't have authentication for. try logging out of your github account, then going back to the compass repo home and copy the url as the public http url, or use the git protocol instead of http.