curl : (1) libcurl 不支持或禁用协议 https [英] curl : (1) Protocol https not supported or disabled in libcurl

查看:40
本文介绍了curl : (1) libcurl 不支持或禁用协议 https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Ubuntu 11.04 上安装 Rails 环境.当我启动命令 rvm install 1.9.2 --with-openssl-dir=/usr/local 时,收到以下错误:

I'm trying to install the Rails environments on Ubuntu 11.04. When I launch the command rvm install 1.9.2 --with-openssl-dir=/usr/local the following error is received:

curl : (1) Protocol https not supported or disabled in libcurl

如何解决这个问题?

推荐答案

得到答案 此处 用于 Windows,它说:

Got the answer HERE for windows, it says there that:

curl -XPUT 'http://localhost:9200/api/twittervnext/tweet'

糟糕,首先尝试,但已经出现错误:

Woops, first try and already an error:

curl: (1) Protocol 'http not supported or disabled in libcurl

这个错误的原因有点愚蠢,当你对命令使用单引号时,Windows 不喜欢它.所以正确的命令是:

The reason for this error is kind of stupid, Windows doesn’t like it when you are using single quotes for commands. So the correct command is:

curl –XPUT "http://localhost:9200/api/twittervnext/tweet"

这篇关于curl : (1) libcurl 不支持或禁用协议 https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆