SystemStackError with gem installs, 1.8.7-p248

D

Daniel Berger

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:

dberger@globe-madison ~>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.7 (2009-12-24 patchlevel 248) [i686-
darwin10.2.0]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /Users/dberger/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gemcutter_key" => "330e8dd81e58e5b50e5a28fe920ec166"
- :sources => ["http://gemcutter.org", "http://
gems.rubyforge.org/", "http://gems.github.com"]
- REMOTE SOURCES:
- http://gemcutter.org
- http://gems.rubyforge.org/
- http://gems.github.com

Anyone else seeing this? BTW, running with --verbose provided no
additional clues for me.

Regards,

Dan
 
A

Aaron Patterson

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?
 
D

Daniel Berger

Maybe it's happening when the RDoc gets generated? =A0What version of RDo= c
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top