Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9163903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:33:13+00:00 2026-06-17T14:33:13+00:00

I am trying to install the nokogiri , selenium-webdriver , mechanize but getting error

  • 0

I am trying to install the nokogiri,selenium-webdriver,mechanize but getting error as below:

ruby 1.9.3p374 (2013-01-15) [i386-mingw32]

C:\Documents and Settings\pp>gem install nokogiri
ERROR:  Could not find a valid gem 'nokogiri' (>= 0) in any repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/lates
t_specs.4.8.gz)

C:\Documents and Settings\pp>gem install nokogiri
ERROR:  Could not find a valid gem 'nokogiri' (>= 0) in any repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/lates
t_specs.4.8.gz)

C:\Documents and Settings\pp>gem install selenium-webdriver
ERROR:  Could not find a valid gem 'selenium-webdriver' (>= 0) in any repository

ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/lates
t_specs.4.8.gz)

C:\Documents and Settings\pp>gem install selenium
ERROR:  Could not find a valid gem 'selenium' (>= 0) in any repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/lates
t_specs.4.8.gz)

Could you help me to get it done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:33:15+00:00Added an answer on June 17, 2026 at 2:33 pm

    Your error seems like a proxy issue,
    try the following command

    gem install --http-proxy <your proxy host:port> <your gem name>

    eg.

    gem install --http-proxy http://localhost:8888 selenium-webdriver

    You can also do

    SET HTTP_PROXY=http://%USER%:%PASSWORD%@%SERVER%:%PORT%

    then execute your gem install

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to install nokogiri on Mountain Lion. I was using ruby 1.8.7 but just
Trying to install pear package and keep getting this strange error. Can you shed
I'm trying install pycrypto on osx with easy_install and I'm getting the following error:
I'm trying to install the Ruby gem sanitize. I've already installed nokogiri: >gem list
Trying to install mysql2 gem on ruby 1.9.2 and I get this error: Installing
I'm trying install ruby 1.8.6 with zlib on smartos, the ruby compiles normal, but
Trying to install some gems under jruby 1.6, but getting connection refused: $ gem
I'm trying to install hpricot and am getting the following error. I do have
Trying to install memcached-northscale and getting a weird error. Any help would be appreciated.
when trying to install cygwin, I keep getting this error message: the entry point

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.