虽然我尝试安装watir,但遇到以下错误,任何人都可以请指导我如何解决此问题?当我尝试安装'gem install watir'时,出现此错误
C:\>gem install watir -v 4.0.2
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNRESET: An existing connection was forcibly closed by the remote
host. - SSL_connect (https://api.rubygems.org/api/v1/dependencies?gems=watir-webdriver)
我正在使用Ruby 2.1.5和WATIR 4.0.2。
此错误表明您的网络连接失败。如果您确定可以访问互联网,请稍后再试用此命令。 – Aetherus
@Aetherus不,当我尝试使用Ruby 2.0.0时,它已经安装,只有当我尝试使用Ruby 2.1.4或Ruby 2.1.5时,才会发生这种情况。 – RAJ
我会亲自尝试,看看会发生什么。 – Aetherus