tag:help.rubygems.org,2010-01-19:/discussions/problems/362-cant-mirror-rubygems-repo-incorrect-header-check
RubyGems.org: Discussion
2012-08-04T18:40:10Z
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-12T16:19:38Z
2010-10-12T16:19:39Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Same issue here:</p>
<p>$ cat ~/.gemmirrorrc</p>
<hr />
<ul>
<li>from: <a href="http://gemcutter.org">http://gemcutter.org</a>
to: /data/rubygems.mirror</li>
</ul>
<p>$ /site/apps/ruby/bin/gem --backtrace mirror --verbose
fetching: <a href="http://gemcutter.org/Marshal.4.8.Z">http://gemcutter.org/Marshal.4.8.Z</a><br />
ERROR: While executing gem ... (Zlib::DataError)<br />
</p>
<pre><code>incorrect header check</code></pre>
<p>This is especially frustrating since <a href="http://help.rubygems.org/discussions/problems/335-marshal48z-still-not-updating-completely-as-of-21-september">Marshal.4.8.Z is supposed to be updated</a> as of yesterday.</p></div>
Kent Cowgill
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-12T16:36:00Z
2010-10-12T16:36:00Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>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.</p></div>
Nick Quaranto
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-13T22:12:47Z
2010-10-13T22:12:48Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>any news on this? It's still failing for me :(</p></div>
Roland
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-14T00:31:48Z
2010-10-14T00:31:49Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Same here still failing with the same error, against rubygems.org</p></div>
Ken
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-14T05:07:29Z
2010-10-14T05:07:29Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Fixed, for real this time. Sorry about the delay here, folks.</p></div>
Nick Quaranto
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-15T10:23:30Z
2010-10-15T10:23:31Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>I get this doing the generate_index in a dir with all the gems from rubygems.org</p>
<p>$ gem1.8 generate_index -V --update --no-legacy --modern
..
stuff<br />
..
Complete<br />
Generated Marshal quick index gemspecs: 54.957s<br />
ERROR: While executing gem ... (RangeError)<br />
</p>
<pre><code>bignum too big to convert into `long'</code></pre>
<p>Am I the only one getting this?</p></div>
João Duarte
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-15T23:14:05Z
2010-10-15T23:14:08Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>I am getting that too.</p></div>
Ken
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-21T09:21:37Z
2010-10-21T09:21:38Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Any news on this?</p></div>
João Duarte
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-10-30T00:24:50Z
2010-10-30T00:24:50Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Hey folks, can you paste your <code>gem env</code> and <code>ruby -v</code> ? We're getting conflicting reports and some people are able to mirror successfully.</p></div>
Nick Quaranto
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-11-02T11:21:42Z
2010-11-02T11:21:43Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Here is mine, plus .gemmirrorc</p>
<p>admin1:~# gem env<br />
RubyGems Environment:</p>
<pre><code> - RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /root/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gemcutter.org/"]
- REMOTE SOURCES:
- http://gemcutter.org/</code></pre>
<p> admin1:~# ruby -v</p>
<pre><code> ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]</code></pre>
<p> admin1:~# cat .gemmirrorrc</p>
<hr />
<ul>
<li> from: <a href="http://rubygems.org">http://rubygems.org</a>
to: /srv/http/publicgems.local/www/rubyforge</li>
</ul></div>
João Duarte
tag:help.rubygems.org,2010-01-19:Comment/3320116
2010-12-02T23:34:34Z
2011-09-23T14:59:27Z
Can't mirror rubygems repo. "incorrect header check"
<div><pre>
# 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.org
</pre></div>
Jiří Kubíček
tag:help.rubygems.org,2010-01-19:Comment/3320116
2011-10-28T09:15:21Z
2011-10-28T09:15:21Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Hi All,</p>
<p>While installing ruby-debug-ide on my machine i am gettting
following error message:<br>
Following gems were not installed:<br>
ruby-debug-ide (0.4.17.beta8): While executing gem ...
(Zlib::DataError)</p>
<pre>
<code> incorrect header check</code>
</pre></div>
Navneet MAurya
tag:help.rubygems.org,2010-01-19:Comment/3320116
2011-11-10T11:22:25Z
2012-08-04T18:40:09Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>Hi Guys,</p>
<p>I am still facing Zlib error while installing any gem from
<a href="http://rubygems.org">http://rubygems.org</a>.</p>
<p>Any ideas, Whats??? going on....<br>
I suppose lots of people are facing the problem.<br>
I have installed and un-installed rubygems several times, even
added new zlib but no success.</p></div>
Navneet Maurya
tag:help.rubygems.org,2010-01-19:Comment/3320116
2011-11-14T21:30:24Z
2011-11-14T21:30:25Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>I'm receiving the Incorrect Header check as well on Ubuntu
11.10<br>
ruby env outputs<br>
`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:</p>
<pre>
<code>- ruby
- x86_64-linux</code>
</pre>
<ul>
<li>GEM PATHS:
<ul>
<li>/var/lib/gems/1.9.1</li>
<li>/home/ematheson/.gem/ruby/1.9.1</li>
</ul>
</li>
<li>GEM CONFIGURATION:
<ul>
<li>:update_sources => true</li>
<li>:verbose => true</li>
<li>:benchmark => false</li>
<li>:backtrace => false</li>
<li>:bulk_threshold => 1000</li>
</ul>
</li>
<li>REMOTE SOURCES:
<ul>
<li><a href="http://rubygems.org/">http://rubygems.org/</a>`</li>
</ul>
</li>
</ul>
<p>ruby -v outputs<br>
<code>ruby 1.9.2p290 (2011-07-09 revision 32553)
[x86_64-linux]</code></p></div>
Elanor
tag:help.rubygems.org,2010-01-19:Comment/3320116
2011-11-15T07:32:57Z
2011-11-15T07:32:58Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>C:\Ruby193\bin>gem install watir --no-ri --no-rdoc<br>
ERROR: While executing gem ... (Zlib::DataError)</p>
<pre>
<code>incorrect header check</code>
</pre>
<p>Thanks,</p>
<p>Regards,<br>
LightningSky</p></div>
Lightning Sky
tag:help.rubygems.org,2010-01-19:Comment/3320116
2012-02-21T03:19:44Z
2012-02-21T03:19:44Z
Can't mirror rubygems repo. "incorrect header check"
<div><p>The mirror command has been deprecated and removed from
rubygems, so I'm going to go ahead and close this. Please try
<a href=
"https://github.com/rubygems/rubygems-mirror">https://github.com/rubygems/rubygems-mirror</a>.</p></div>
Evan Phoenix