Can't mirror rubygems repo. "incorrect header check"
cat .gemmirrorrc
---
- from: http://gemcutter.org
to: /srv/www/gems`
# http_proxy=http://localhost:8081 gem1.8 mirror
fetching: http://gemcutter.org/Marshal.4.8.Z
ERROR: While executing gem ... (Zlib::DataError)
incorrect header check
Same with rubygems.org
Comments are currently closed for this discussion. You can start a new one.
2 Posted by Kent Cowgill on 12 Oct, 2010 04:19 PM
Same issue here:
$ cat ~/.gemmirrorrc
$ /site/apps/ruby/bin/gem --backtrace mirror --verbose fetching: http://gemcutter.org/Marshal.4.8.Z
ERROR: While executing gem ... (Zlib::DataError)
This is especially frustrating since Marshal.4.8.Z is supposed to be updated as of yesterday.
Support Staff 3 Posted by Nick Quaranto on 12 Oct, 2010 04:36 PM
Argh...it updated, something must have gotten corrupted on the way there. I'll try running it again. The process takes 20-30 minutes and is realyl CPU intensive (needs to load all 80,000+ gemspecs into memory and then spit it back out). I'll keep this thread and the prior one updated on my progress.
4 Posted by Roland on 13 Oct, 2010 10:12 PM
any news on this? It's still failing for me :(
5 Posted by Ken on 14 Oct, 2010 12:31 AM
Same here still failing with the same error, against rubygems.org
Support Staff 6 Posted by Nick Quaranto on 14 Oct, 2010 05:07 AM
Fixed, for real this time. Sorry about the delay here, folks.
Nick Quaranto closed this discussion on 14 Oct, 2010 05:07 AM.
João Duarte re-opened this discussion on 15 Oct, 2010 10:23 AM
7 Posted by João Duarte on 15 Oct, 2010 10:23 AM
I get this doing the generate_index in a dir with all the gems from rubygems.org
$ gem1.8 generate_index -V --update --no-legacy --modern .. stuff
.. Complete
Generated Marshal quick index gemspecs: 54.957s
ERROR: While executing gem ... (RangeError)
Am I the only one getting this?
8 Posted by Ken on 15 Oct, 2010 11:14 PM
I am getting that too.
9 Posted by João Duarte on 21 Oct, 2010 09:21 AM
Any news on this?
Support Staff 10 Posted by Nick Quaranto on 30 Oct, 2010 12:24 AM
Hey folks, can you paste your
gem envandruby -v? We're getting conflicting reports and some people are able to mirror successfully.11 Posted by João Duarte on 02 Nov, 2010 11:21 AM
Here is mine, plus .gemmirrorc
admin1:~# gem env
RubyGems Environment:
admin1:~# ruby -v
admin1:~# cat .gemmirrorrc
12 Posted by Jiří Kubíček on 02 Dec, 2010 11:34 PM
# gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.8.7 (2009-04-08 patchlevel 160) [i386-freebsd8] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/local/bin/ruby18 - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-freebsd-8 - GEM PATHS: - /usr/local/lib/ruby/gems/1.8 - /root/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://gems.rubyforge.org13 Posted by Navneet MAurya on 28 Oct, 2011 09:15 AM
Hi All,
While installing ruby-debug-ide on my machine i am gettting following error message:
Following gems were not installed:
ruby-debug-ide (0.4.17.beta8): While executing gem ... (Zlib::DataError)
14 Posted by Elanor on 14 Nov, 2011 09:30 PM
I'm receiving the Incorrect Header check as well on Ubuntu 11.10
ruby env outputs
`RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-linux] - INSTALLATION DIRECTORY: /var/lib/gems/1.9.1 - RUBY EXECUTABLE: /usr/bin/ruby1.9.1 - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS:
ruby -v outputs
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]15 Posted by Lightning Sky on 15 Nov, 2011 07:32 AM
C:\Ruby193\bin>gem install watir --no-ri --no-rdoc
ERROR: While executing gem ... (Zlib::DataError)
Thanks,
Regards,
LightningSky
Support Staff 16 Posted by Evan Phoenix on 21 Feb, 2012 03:19 AM
The mirror command has been deprecated and removed from rubygems, so I'm going to go ahead and close this. Please try https://github.com/rubygems/rubygems-mirror.
Evan Phoenix closed this discussion on 21 Feb, 2012 03:19 AM.