tag:help.rubygems.org,2010-01-19:/discussions/problems/810-create-rubygems-mirror-gem-generate_index-failed-in-stack-level-too-deepRubyGems.org: Discussion 2012-08-04T18:40:11Ztag:help.rubygems.org,2010-01-19:Comment/120024682011-12-18T20:05:41Z2011-12-18T20:05:41ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>Can you try with ruby 1.8.7?</p>
<p>Also, have you tried this out?</p>
<p><a href=
"https://github.com/rubygems/rubygems-mirror">https://github.com/rubygems/rubygems-mirror</a></p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/120024682011-12-19T02:55:00Z2011-12-19T02:55:01ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>@Nick Quaranto I was used rubygems-mirror to download that
150000+ gem files.<br>
And I had tried Ruby 1.8.7 and others Ruby versions, it both can't
working.</p></div>huacnleetag:help.rubygems.org,2010-01-19:Comment/120024682011-12-26T08:23:25Z2011-12-26T08:36:01ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>This is not need now, can use this gem to sync all files.<br>
<a href=
"https://github.com/huacnlee/rubygems-mirror">https://github.com/huacnlee/rubygems-mirror</a></p></div>huacnleetag:help.rubygems.org,2010-01-19:Comment/120024682011-12-26T08:23:54Z2011-12-26T08:36:33ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p><a href=
"https://github.com/huacnlee/rubygems-mirror">https://github.com/huacnlee/rubygems-mirror</a></p></div>huacnleetag:help.rubygems.org,2010-01-19:Comment/120024682012-01-11T14:53:37Z2012-01-11T14:53:37ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>Cool, if you wouldn't mind submitting your patches upstream to
@raggi it would help out everyone who runs mirrors. :)</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/120024682012-02-22T17:44:23Z2012-02-22T17:44:24ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>I'm getting the same error with 1.9.2. I've used rubygems-mirror
to download the gems, but generate_index is still needed
afterwards, no?</p></div>João Duartetag:help.rubygems.org,2010-01-19:Comment/120024682012-02-22T17:53:56Z2012-02-22T17:53:58ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>Nevermind, did not notice it was a different repo that syncs the
indexes. Still, this is a workaround..</p></div>João Duartetag:help.rubygems.org,2010-01-19:Comment/120024682012-02-23T06:13:17Z2012-02-23T06:13:17ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>Are you still having this problem using rubygems-mirror?</p></div>Evan Phoenixtag:help.rubygems.org,2010-01-19:Comment/120024682012-02-23T09:37:32Z2012-02-23T09:37:34ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>rubygems-mirror solves the problem of making a full rubygems.org
copy.<br>
I'm guessing though that if rubygems.org itself ever tries to fully
reindex the gem collection it will run into this "stack level too
deep" error in gem#generate_index.</p></div>João Duartetag:help.rubygems.org,2010-01-19:Comment/120024682012-02-23T16:54:27Z2012-02-23T16:54:27ZCreate Rubygems mirror, gem generate_index failed in stack level too deep<div><p>rubygems.org has a custom indexer, so it won't ever run into
this problem. That being said, this is likely a bug in
generate_index and should be a bug on
github.com/rubygems/rubygems/issues.</p></div>Evan Phoenix