Heroku 创建未知协议 SSL 错误
我是 Ruby 新手,在 Rails 中创建了一个站点,我尝试在我的 Windows 计算机上运行 heroku create,通过 git gui 生成公钥后,出现此错误
Uploading ssh public key C:\Users \me/.ssh/id_rsa.pub c:/ruby/lib/ruby/1.8/net/http.rb:590:in connect': 未知协议 (OpenSSL::SSL::SSLError) 来自 c:/ruby/lib/ruby/1.8/net/http.rb:590:in
connect' 来自 c:/ruby/lib/ruby/1.8/net/http.rb:557:in do_start' 从 c:/ruby/lib/ruby/1.8/net/http.rb:546:in
start' 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in transmit 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:55:in
execute' 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:30:in execute' 来自 c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/resource.rb:63:in
post' 来自 c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/client.rb:464:in send' ... 17 个级别... 来自 c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/command.rb:20:in
run' 来自 c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/bin/heroku:13 来自 c:/ruby/bin/heroku:19:in `load' 来自 c:/ruby/bin/heroku:19
我需要为 SSL 设置什么吗?
感谢您提前提供的任何帮助。
I'm new to Ruby and have created a site in Rails, I'm trying to run heroku create on my Windows machine and after generating a public key through git gui, I'm getting this error
Uploading ssh public key C:\Users\me/.ssh/id_rsa.pub
c:/ruby/lib/ruby/1.8/net/http.rb:590:in connect': unknown protocol (OpenSSL::SSL::SSLError)
connect'
from c:/ruby/lib/ruby/1.8/net/http.rb:590:in
from c:/ruby/lib/ruby/1.8/net/http.rb:557:in do_start'
start'
from c:/ruby/lib/ruby/1.8/net/http.rb:546:in
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:150:in transmit
execute'
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:55:in
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/request.rb:30:in execute'
post'
from c:/ruby/lib/ruby/gems/1.8/gems/rest-client-1.4.2/lib/restclient/resource.rb:63:in
from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/client.rb:464:in send'
run'
... 17 levels...
from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/lib/heroku/command.rb:20:in
from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.9/bin/heroku:13
from c:/ruby/bin/heroku:19:in `load'
from c:/ruby/bin/heroku:19
Is there something I need to set up for SSL?
Thanks for any help in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会尝试使用 http://rubyinstaller.org/ 之类的东西重新安装 Ruby
I'd try reinstalling Ruby using something like http://rubyinstaller.org/