安装watir gem install watir 出了好多错

安装watir   gem install watir 出了好多错

例如:too many connection resets

SocketError: getaddrinfo:

Unable to resolve dependencies:

the installation aborts because of the network issue, but i don’t know why, the only thing i can do is that retry over and over again, it finally install successfully,  below is my retry history

但有时好像又可以进行下去, 可能是由于网络的原因, 中途会失败,也不知道是为什么, 只能一次一次进重试,最终还是成功啦, 花了不少时间

C:\Users\guangjun>gem install watir
ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/win32-a
-1.4.8-x86-mingw32.gem)

C:\Users\guangjun>gem install watir
ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/gem
win32-api-1.4.8-x86-mingw32.gem)

C:\Users\guangjun>gem system –update
ERROR:  While executing gem … (RuntimeError)
Unknown command system

C:\Users\guangjun>gem update –system
Latest version currently installed. Aborting.
C:\Users\guangjun>gem install watir –no-ri –no-rdoc
Fetching: windows-pr-1.2.0.gem (100%)Fetching: windows-pr-1.2.0.gem
Fetching: win32-process-0.6.5.gem (100%)
Fetching: xml-simple-1.0.15.gem (100%)
Fetching: hoe-2.9.4.gem ( 37%)ERROR:  While executing gem … (Gem::RemoteFetc
r::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/hoe-2.9
.gem)

C:\Users\guangjun>irb
irb(main):001:0> require ‘rubygems’
=> false
irb(main):002:0> require ‘watir’
LoadError: cannot load such file — watir
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
n `require’
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
n `require’
from (irb):2
from C:/Ruby193/bin/irb:12:in `<main>’
irb(main):003:0> require ‘rubygems’
=> false
irb(main):004:0> require ‘watir’
LoadError: cannot load such file — watir
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
n `require’
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
n `require’
from (irb):4
from C:/Ruby193/bin/irb:12:in `<main>’
irb(main):005:0> exit

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
Fetching: win32-api-1.4.8-x86-mingw32.gem ( 29%)Fetching: win32-api-1.4.8-x86-
Fetching: win32-api-1.4.8-x86-mingw32.gem ( 84%)Fetching: win32-api-1.4.8-x86-
Fetching: win32-api-1.4.8-x86-mingw32.gem ( 24%)Fetching: win32-api-1.4.8-x86-
Fetching: win32-api-1.4.8-x86-mingw32.gem ( 20%)ERROR:  While executing gem ..
(Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/win32-a
-1.4.8-x86-mingw32.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
Fetching: win32-api-1.4.8-x86-mingw32.gem (100%)
Fetching: windows-api-0.4.0.gem (100%)
Fetching: windows-pr-1.2.0.gem ( 22%)ERROR:  While executing gem … (Gem::Rem
eFetcher::FetchError)
SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/gem
windows-pr-1.2.0.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/hoe-2.9
.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/gem
hoe-2.9.4.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: No such host is known.  (http://rubygems.org/gem
hoe-2.9.4.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
Fetching: hoe-2.9.4.gem ( 19%)ERROR:  While executing gem … (Gem::RemoteFetc
r::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/hoe-2.9
.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
Fetching: hoe-2.9.4.gem ( 16%)ERROR:  While executing gem … (Gem::RemoteFetc
r::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/hoe-2.9
.gem)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: watir requires commonwatir (= 2.0.4), raut
ation (~> 0.6.3)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: watir requires commonwatir (= 2.0.4), raut
ation (~> 0.6.3)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: watir requires commonwatir (= 2.0.4), raut
ation (~> 0.6.3)

C:\Users\guangjun>gem install watir –no-ri –no-rdoc
ERROR:  While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: watir requires commonwatir (= 2.0.4), raut
ation (~> 0.6.3)

C:\Users\guangjun>gem install watir
ERROR:  While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: watir requires commonwatir (= 2.0.4), raut
ation (~> 0.6.3)

C:\Users\guangjun>gem install watir
ERROR:  While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: watir requires commonwatir (= 2.0.4), raut
ation (~> 0.6.3)

C:\Users\guangjun>
C:\Users\guangjun>gem install commonwatir
Fetching: hoe-2.12.3.gem ( 27%)ERROR:  While executing gem … (Gem::RemoteFet
er::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/hoe-2.1
3.gem)

C:\Users\guangjun>gem install commonwatir
Fetching: hoe-2.12.3.gem ( 21%)ERROR:  While executing gem … (Gem::RemoteFet
er::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/hoe-2.1
3.gem)

C:\Users\guangjun>gem install commonwatir
Fetching: hoe-2.12.3.gem (100%)
Fetching: s4t-utils-1.0.4.gem (100%)
WARNING: s4t-utils-1.0.4 has an invalid nil value for @cert_chain
Fetching: builder-3.0.0.gem (100%)
Fetching: user-choices-1.1.6.1.gem (100%)
Fetching: commonwatir-2.0.4.gem (100%)
Successfully installed hoe-2.12.3
Successfully installed s4t-utils-1.0.4
Successfully installed builder-3.0.0
Successfully installed user-choices-1.1.6.1
Successfully installed commonwatir-2.0.4
5 gems installed
Installing ri documentation for hoe-2.12.3…
Installing ri documentation for s4t-utils-1.0.4…
Installing ri documentation for builder-3.0.0…
Installing ri documentation for user-choices-1.1.6.1…
Installing ri documentation for commonwatir-2.0.4…
Installing RDoc documentation for hoe-2.12.3…
Installing RDoc documentation for s4t-utils-1.0.4…
Installing RDoc documentation for builder-3.0.0…
Installing RDoc documentation for user-choices-1.1.6.1…
Installing RDoc documentation for commonwatir-2.0.4…

C:\Users\guangjun>gem install watir
Fetching: nokogiri-1.5.0-x86-mingw32.gem (100%)
Fetching: ffi-1.0.10-x86-mingw32.gem (100%)
Fetching: rautomation-0.6.3.gem (100%)
Successfully installed nokogiri-1.5.0-x86-mingw32
Successfully installed ffi-1.0.10-x86-mingw32
Successfully installed rautomation-0.6.3
Successfully installed watir-2.0.4
4 gems installed
Installing ri documentation for nokogiri-1.5.0-x86-mingw32…
unable to convert “\xE9” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for README.ja.rdoc, skipping
unable to convert “\xE8” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for CHANGELOG.rdoc, skipping
unable to convert “\xE5” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for CHANGELOG.ja.rdoc, skipping
unable to convert “\xE9” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for README.rdoc, skipping
unable to convert “\xE2” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for ext/nokogiri/xml_node_set.c, skipping
Installing ri documentation for ffi-1.0.10-x86-mingw32…
Installing ri documentation for rautomation-0.6.3…
Installing ri documentation for watir-2.0.4…
file ‘def_wrap=R,def_wrap_guard=R’ not found
Installing RDoc documentation for nokogiri-1.5.0-x86-mingw32…
unable to convert “\xE9” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for README.ja.rdoc, skipping
unable to convert “\xE8” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for CHANGELOG.rdoc, skipping
unable to convert “\xE5” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for CHANGELOG.ja.rdoc, skipping
unable to convert “\xE9” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for README.rdoc, skipping
unable to convert “\xE2” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GB
for ext/nokogiri/xml_node_set.c, skipping
Installing RDoc documentation for ffi-1.0.10-x86-mingw32…
Installing RDoc documentation for rautomation-0.6.3…
Installing RDoc documentation for watir-2.0.4…
file ‘def_wrap=R,def_wrap_guard=R’ not found

858 thoughts on “安装watir gem install watir 出了好多错”

  1. Make use of the equipment we’ve included in your box in your on a daily basis life or
    save it for the day you’ll really need it!

  2. I’m gone to say to my little brother, that he should also visit this
    website on regular basis to get updated from newest news update.

  3. Great weblog right here! Additionally your website
    rather a lot up very fast! What host are you using?
    Can I get your associate link to your host? I wish my site loaded up as
    fast as yours lol

  4. After I originally commented I seem to have clicked on the -Notify me when new
    comments are added- checkbox and now whenever a comment is added I receive 4 emails with the same comment.

    There has to be a way you can remove me from that service?

    Thank you!

  5. It’s remarkable designed for me to have a web page, which is beneficial in support of my knowledge.

    thanks admin

  6. Does your site have a contact page? I’m having trouble locating it but, I’d like to shoot you an email.
    I’ve got some ideas for your blog you might be interested in hearing.
    Either way, great blog and I look forward to seeing it develop
    over time.

  7. Great article! This is the type of information that are supposed to be shared across the net.
    Disgrace on the search engines for not positioning this
    publish upper! Come on over and visit my website . Thank you
    =)

  8. Klean Kanteens have ended up being the centerpiece
    of our everyday come with as well as survival tools.

  9. So, it is smaller cash guide but beneficial
    to release financial worries This is often an the main plan which isn’t well revealed to the consumer, so
    about them if you do not obtain them in the Fact in Lending
    statement on the payday advance loan business

  10. Thank you for some other informative blog. Where else may I am getting
    that kind of info written in such a perfect means? I have a project that
    I’m just now running on, and I’ve been at the glance out for such info.

  11. It’s going to be end of mine day, but before end I am reading this enormous article
    to increase my knowledge.

  12. After looking at a number of the blog posts
    on your website, I really appreciate your technique of writing a blog.
    I book-marked it to my bookmark site list and will be checking
    back in the near future. Take a look at my web site too and
    let me know how you feel.

  13. This site was… how do I say it? Relevant!! Finally I’ve found something which helped me.

    Thanks a lot!

  14. I appreciate, lead to I found exactly what I used to be taking
    a look for. You have ended my four day lengthy hunt!

    God Bless you man. Have a great day. Bye

  15. Hey! Do you know iif they make any plugins to help with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m
    not seeing very good gains. If you know of any please share.
    Thanks!

  16. Excellent article. Keep writing such kind of information on your page.
    Im really impressed by your blog.
    Hello there, You’ve performed a fantastic job.

    I’ll definitely digg it and for my part recommend to my friends.
    I’m sure they’ll be benefited from this web site.

  17. You have noted very interesting details! ps nice web site. “What a grand thing, to be loved What a grander thing still, to love” by Victor Hugo.

Comments are closed.