设置轨道指南针

发布于 2024-10-02 03:14:51 字数 1393 浏览 3 评论 0原文

我正在运行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

长伴 2024-10-09 03:14:51

你遇到了 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文