Gem install Selenium-webdriver installation Error Resolution

Source: Internet
Author: User

    1. Guaranteed Ruby and Gem without problems

      Rubyinstaller-1.9.2-p180.exe two radio boxes are selected when the installation is installed with an administrator open

      C:\Documents and Settings\administrator>ruby
      Ruby 1.9.2p180 (2011-02-18) [i386-mingw32]ruby-v

      Update Rubygem gem Update--system

      C:\Documents and Settings\administrator>gem-v
      1.5.2


      Gem Install/list/uninstall selenium-webdriver
2.gem Install selenium-webdriver error

A

C:\Documents and Settings\administrator>gem Install Selenium-webdriver
Error:could not find a valid gem ' Selenium-webdriver ' (>= 0) in any repository
Error:possible Alternatives:selenium-webdriver

C:\Documents and settings\administrator>gem sources--remove http://rubygems.org/
Http://rubygems.org/removed from sources

C:\Documents and settings\administrator>gem sources-a https://ruby.taobao.org/
https://ruby.taobao.org/added to sources

C:\Documents and Settings\administrator>gem Sources-l
Current SOURCES * * *
https://ruby.taobao.org/

Purpose: To modify the gem image

Two

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/43/wKiom1V3sfbAW3-qAABe63QnpGU867.jpg "title=" 3.png " alt= "Wkiom1v3sfbaw3-qaabe63qnpgu867.jpg"/>

No agent added


3. View Documents

Gem Server

localhost-0.0.0.0

Gem install Selenium-webdriver installation Error Resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.