我不确定从哪里开始解决这个问题。
在我的命令提示符(Windows 7)中,我输入了gem install selenium-webdriver
并得到回应ERROR: Could not find a valid gem 'selenium-webdriver' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2) (https://rubygems.org/latest_specs.4.8.gz)
我已经安装了Ruby,但我以前从未使用过它。有人告诉我,这就是我为 Ruby获取硒所需要做的一切。我哪里做错了?我很确定这与我们工作计算机上运行的防火墙帽有关。我应该如何解决这个问题?
在此先感谢(但以后还会有更多)!