or Create a profile
09 Dec, 2011 10:47 AM
I want to create a full rubygems.org mirror in China, Because
rubygems.org's backend store Amazon was be shielded by out GOV some
times. so, we need a mirror server in China.
I was used rubygems-mirror to sync 150000+ gem files in my local
Then I use "gem generate_index /path/rubygems" common, waiting a
long times, will result this error message:
stack level too deep (SystemStackError)
I was retry the again and again, and I was try to fix them, but
in finally, it still can not process success.
pls help me.
2 Posted by Nick Quaranto on 18 Dec, 2011 08:05 PM
Can you try with ruby 1.8.7?
Also, have you tried this out?
3 Posted by huacnlee on 19 Dec, 2011 02:55 AM
@Nick Quaranto I was used rubygems-mirror to download that
150000+ gem files.
And I had tried Ruby 1.8.7 and others Ruby versions, it both can't
4 Posted by huacnlee on 26 Dec, 2011 08:23 AM
This is not need now, can use this gem to sync all files.
5 Posted by huacnlee on 26 Dec, 2011 08:23 AM
6 Posted by Nick Quaranto on 11 Jan, 2012 02:53 PM
Cool, if you wouldn't mind submitting your patches upstream to
@raggi it would help out everyone who runs mirrors. :)
7 Posted by João Duarte on 22 Feb, 2012 05:44 PM
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
8 Posted by João Duarte on 22 Feb, 2012 05:53 PM
Nevermind, did not notice it was a different repo that syncs the
indexes. Still, this is a workaround..
9 Posted by Evan Phoenix on 23 Feb, 2012 06:13 AM
Are you still having this problem using rubygems-mirror?
10 Posted by João Duarte on 23 Feb, 2012 09:37 AM
rubygems-mirror solves the problem of making a full rubygems.org
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.
11 Posted by Evan Phoenix on 23 Feb, 2012 04:54 PM
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
Evan Phoenix closed this discussion
on 23 Feb, 2012 04:54 PM.
Comments are currently closed for this discussion.
You can start a new one.
4 people watching.
No more actions from RubyGems.org or the discussion starter are required.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.