我正试图安装错误。
gem install Blunder
但我得到了这个错误
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:1080 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 1080) (https://rubygems.org/specs.4.8.gz)
我尝试从这个url修复它(安装Bundler时出错),但没有解决任何问题。
更多详情:
我可以访问https://rubygems.org/网址。(
我可以下载"https://rubygems.org/specs.4.8.gz"
我通过一些VPN连接进行了连接,但我遇到了相同的错误。
我测试了更新命令。但我犯了这个错误
gem install rubygems-update
C:\Windows\System32>gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:1080 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 1080) (https://rubygems.org/specs.4.8.gz)
我测试了其他一些gem安装命令,例如
gem update --system
gem install installer
C:\Windows\System32>gem install installer
ERROR: Could not find a valid gem 'installer' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:1080 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 1080) (https://rubygems.org/specs.4.8.gz)
C:\Windows\System32> gem install rubygems-update
ERROR: Could not find a valid gem 'rubygems-update' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:1080 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 1080) (https://rubygems.org/specs.4.8.gz)
"创业板资料-a"的结果http://rubygems.org“命令。
C:\WINDOWS\system32>gem sources -a http://rubygems.org
https://rubygems.org is recommended for security over http://rubygems.org
Do you want to add this insecure source? [yn] y
http://rubygems.org is too similar to https://rubygems.org
Do you want to add this source? [yn] y
Error fetching http://rubygems.org:
Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:1080 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 1080) (http://rubygems.org/specs.4.8.gz)
“gem来源-r”的结果https://rubygems.org-ahttp://rubygems.org“命令。
C:\WINDOWS\system32>gem sources -r https://rubygems.org -a http://rubygems.org
https://rubygems.org is recommended for security over http://rubygems.org
Do you want to add this insecure source? [yn]
https://rubygems.org is recommended for security over http://rubygems.org
Do you want to add this insecure source? [yn] y
http://rubygems.org is too similar to https://rubygems.org
Do you want to add this source? [yn] y
Error fetching http://rubygems.org:
Errno::ECONNREFUSED: Failed to open TCP connection to 127.0.0.1:1080 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 1080) (http://rubygems.org/specs.4.8.gz)
我安装了Ruby 2.7的最新版本。1-1-x64安装后,我运行“ridk安装”来安装MSY2。。。。。但我看到了一个错误
gpg: refreshing 8 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: General error
==> ERROR: A specified local key could not be updated from a keyserver.
另外,在“C:\Ruby26-x64\lib\ruby\2.6”中。0\win32\registry。rb“文件。我从
语言环境=编码。查找(Encoding.locale\u charmap)
到
语言环境=编码::UTF_8
谢谢你的帮助。
我在Internet Explorer的“配置代理服务器”中设置了代理,以127.0.0.1:1080。然后我使用了一个代理应用程序,如Ultra-surfe,并将其端口设置为1080。
现在,我的问题是:为什么Ruby试图从代理端口连接到它的服务器??!我用这个代码从命令行检查代理
netsh winhttp show proxy
我还重置了代理
netsh winhttp show proxy
但是Ruby“gem installation”的命令仍然希望通过127.0打开TCP连接。0.1:1080. 为什么?我的系统有问题吗?
我确信这不是我的系统的问题,因为"npm安装..."
命令运行良好。例如,这个命令
npm install touch-cli -g
我将搜索这个问题,也许稍后我会在新的帖子中问我的新问题。
我在安装ruby gem时遇到这个错误!我试图找到gem源文件,但没有用!你能告诉我如何在我的计算机上安装这些证书吗?
我试图安装sass和我尝试红宝石安装程序。我得到的错误如下。请任何人帮忙。 错误:找不到有效的gem“sass”(
我尝试使用ruby的上一个版本,但在运行gem install rails时,总是出现错误 我正在使用Windows8。 但宝石列表---本地工作...仅在安装,我的语言环境设置英语。 这是什么样的问题?
我刚刚安装完RubyonRails包(Rails4.1.8)。在为其创建一个新目录后,如,当它到达时,通常会收到此错误消息 “Gem::RemoteFetcher::FetchError:SSL\u connect返回=1 errno=0 state=SSLv3读取服务器证书B:证书变量失败https://rubygems.org/gems/rake-10.4.0gem.安装rake时出错
我试图为Ruby安装Cumber gem。虽然很少有与此相关的话题,但我找不到确切的问题和确切的答案。在Windows上,我尝试运行命令,控制台返回: 错误:无法从https://rubygems.org/下载数据-SSL_connect返回=1 errno=0 state=SSLv3读取服务器证书B:证书验证失败(https://s3.amazonaws.com/production.s3.ru
Windows 平台安装 SBT 通过 Windows 安装包安装 下载 msi 安装包并安装 通过通用的包安装 下载 ZIP 包或 TGZ 包解压 手动安装 参考手动安装 SBT