Search code examples
rubyrubygemsrubymine

Failed to load remote gems: stack level too deep (SystemStackError)


I have used RubyMine 3.2.1 trialversion for a week now, with no errors at all. But now, when I open RubyMine I get this:

failed to load remote gems

What can I do to fix it? I am using Ruby Version Manager as well.

spec_fetcher.rb:170: stack level too deep (SystemStackError)


UPDATE: I am still getting this error!

UPDATE 2: Not anymore!


Solution

  • Looks like some problem with the gem hosting servers, you will get the same behavior in the terminal:

    % gem list --remote --all
    
    *** REMOTE GEMS ***
    
    /Users/denofevil/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:170: stack level too deep (SystemStackError)  
    

    In RubyMine you can disable these pop-ups in Settings | Notifications | Gem Manager, set to Ignore.

    UPDATE: We've filed a bug for this problem to rubygems project.

    UPDATE 2: The issue is resolved in RubyGems 1.8.6, run gem update --system to get the latest RubyGems version.