"gem install watir-1.6.5.gem" got "ERROR: While executing gem" not in gzip format

Tony's Avatar

Tony

09 Jul, 2010 02:17 AM

platform: Windows XP without internet connection.
steps:
1. Install ruby on WinXP successfully by downloaded package "Ruby-186-26 one click installer".
2. Run "setup.rb" to update rubygems to 1.3.7 by downloaded package rubygems-1.3.7.zip
3. Copy downloaded watir related packages to a folder, e.g.
c:\watir>dir
2010-07-09 09:15 9,216 commonwatir-1.6.5.gem
2010-07-09 09:16 89,088 firewatir-1.6.5.gem
2010-07-09 09:16 183,808 nokogiri-1.4.2.gem
2010-07-09 09:15 255,488 watir-1.6.5.gem
2010-07-09 09:15 19,968 win32-process-0.6.2.gem
2010-07-09 09:15 85,504 windows-pr-1.0.9.gem

c:\watir>gem install watir-1.6.5.gem
ERROR: While executing gem ... (Zlib::GzipFile::Error)

not in gzip format

c:\watir>gem install firewatir-1.6.5.gem
ERROR: While executing gem ... (Zlib::GzipFile::Error)

not in gzip format

c:\watir>gem install nokogiri-1.4.2.gem
ERROR: While executing gem ... (Zlib::GzipFile::Error)

not in gzip format

c:\watir>gem install nokogiri-1.4.2.gem
ERROR: While executing gem ... (Zlib::GzipFile::Error)

not in gzip format

there is no zip/gz packages can be downloaded from site "rubygems.org", only "gem" file, so how can I install the gem file and make it work? I've googled for a long time and got nothing useful clues, it hits me a lot and I'm getting tired of do this, need the workable fucking helps.

  1. Support Staff 1 Posted by Eric Hodel on 09 Jul, 2010 10:11 PM

    Eric Hodel's Avatar

    How did you download the gems?

  2. Support Staff 2 Posted by Nick Quaranto on 17 Jul, 2010 08:42 PM

    Nick Quaranto's Avatar

    Any update on this? Can you just install them from the site? gem install nokogiri for instance.

  3. Nick Quaranto closed this discussion on 18 Mar, 2011 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM