“无法在任何存储库中找到有效的宝石'黄瓜'(> = 0)... SocketError:getaddrinfo:没有这样的主机已知”

时间:2014-02-18 09:28:14

标签: ruby cucumber

我正在

"Could not find a valid gem 'cucumber' (>= 0) in any repository... SocketError: getaddrinfo: No such host is known" error while trying to install cucumber. PFB the details:

"ruby -v"

ruby 1.9.3p484 (2013-11-22) [i386-mingw32]


"gem -v"

1.8.28

"gem install cucumber"

ERROR:  Could not find a valid gem 'cucumber' (>= 0) in any repository  
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)                    SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/latest_specs.4.8.gz)                                                                 


"ruby dk.rb install"  

[INFO] Skipping existing gem override for 'C:/Ruby/Ruby193' 
[WARN] Skipping existing DevKit helper library for 'C:/Ruby/Ruby193'

我已将Ruby放在C:\Ruby\Ruby193DevKit C:\Ruby\DevKit路径中。

让我知道我错过了什么。

0 个答案:

没有答案