From: Daniel Berger Date: 2010-01-01T00:40:55+09:00 Subject: Re: SystemStackError with gem installs, 1.8.7-p248 On Dec 30, 5:53 pm, Aaron Patterson wrote: > On Wed, Dec 30, 2009 at 10:41:06PM +0900, Daniel Berger wrote: > > Hi, > > > I upgraded to ruby 1.8.7 p248 yesterday. Since then I've started > > seeing these error messages on gem installs: > > > dberger@globe-madison ~>sudo gem install sys-filesystem > > Password: > > Building native extensions.  This could take a while... > > Successfully installed sys-filesystem-0.3.2 > > 1 gem installed > > ERROR:  While executing gem ... (SystemStackError) > >     stack level too deep > > > The gem appears to install fine. It's just that final error message > > that's started showing up. I saw the same thing with passenger. Here's > > my environment: > > Maybe it's happening when the RDoc gets generated?  What version of RDoc > do you have installed? Ah, I discovered the problem once I remembered the '--debug' option. Turns out it's an issue with yard: ERROR: While executing gem ... (SystemStackError) stack level too deep /usr/local/lib/ruby/gems/1.8/gems/yard-0.5.2/lib/rubygems_plugin.rb: 79:in `install_ri_yard_orig' /usr/local/lib/ruby/gems/1.8/gems/yard-0.5.2/lib/rubygems_plugin.rb: 79:in `install_ri_yard_orig' /usr/local/lib/ruby/gems/1.8/gems/yard-0.4.0/lib/rubygems_plugin.rb: 77:in `install_ri' /usr/local/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:109:in `generate_ri' /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/ install_command.rb:144:in `execute' /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/ install_command.rb:143:in `each' /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/ install_command.rb:143:in `execute' /usr/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:257:in `invoke' /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:132:in `process_args' /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in `run' /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in `run' /usr/local/bin/gem:21 I'll report this to the yard dev. Regards, Dan