Installation watir-1.5.6 Error

Source: Internet
Author: User
Tags domain server

Many people on the Internet say that watir is installed with Gem, but many people ignore the correspondence between watir and Ruby.

I downloaded the watir-1.5.6.gem from my local Ruby version 1.8.6 and copied it to the root directory. When the network is smooth, run the following command in the CMD command line:

Gem install watir-1.5.6.gem

Console error, probably need win32-process such a prompt.

Some people on the Internet say that this problem is caused by poor network performance. In fact, the root cause is that the versions of Ruby and watir are inconsistent. In my local environment, ruby1. 8.6 can only install watir-1.5.4.gem.

The best way to solve this problem is to first update the gem and execute the following command:

Gem update -- System

You can run the gem install watir-15.6.gem command only after the update is complete. This method requires smooth network connection. If a Domain Server is used in the company, the Network may not respond and the installation may fail. There is no reason, and there is no good way, unless you are familiar with the company's network management.

The second solution is also simple, that is, give up using watir-1.5.6.gem. If your ruby version is 1.8.6, you can download the watir-1.5.4.gem. Watir-1.5.4.gem:

Http://rubyforge.iasi.roedu.net/files/wtr/watir-1.5.4.gem

If you want to download another version of watir, you can visit the following address:

Http://rubyforge.org/frs? Group_id = 104

 

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.