我在MacOS Ventura 13.0上,我正在尝试upgrade Rubygems。
$ gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:8808 (Connection refused - connect(2) for "localhost" port 8808) (http://localhost:8808/specs.4.8.gz)
如何解决错误?
1条答案
按热度按时间x8diyxa71#
已解决:在终端中,
cd
您的项目文件夹,并运行命令gem sources -r SOURCE_URI
,其中SOURCE_URI
是要删除的源。