Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while installing lolcommits: :in `superclass': stack level too deep (SystemStackError) #431

Closed
monperrus opened this issue Apr 6, 2024 · 4 comments
Assignees
Labels

Comments

@monperrus
Copy link

monperrus commented Apr 6, 2024

± gem install --user lolcommits
Fetching mini_magick-4.12.0.gem
Fetching methadone-1.9.5.gem
Fetching mercurial-ruby-0.7.12.gem
Fetching lolcommits-loltext-0.4.0.gem
Fetching open4-1.3.4.gem
Fetching launchy-2.5.2.gem
Fetching rchardet-1.8.0.gem
Fetching git-1.18.0.gem
Fetching lolcommits-0.16.4.gem
Successfully installed open4-1.3.4
Successfully installed mini_magick-4.12.0
Successfully installed methadone-1.9.5
Successfully installed mercurial-ruby-0.7.12
Successfully installed lolcommits-loltext-0.4.0
Successfully installed launchy-2.5.2
Successfully installed rchardet-1.8.0
Successfully installed git-1.18.0
Successfully installed lolcommits-0.16.4
Parsing documentation for open4-1.3.4
Installing ri documentation for open4-1.3.4
Parsing documentation for mini_magick-4.12.0
Installing ri documentation for mini_magick-4.12.0
Parsing documentation for methadone-1.9.5
Installing ri documentation for methadone-1.9.5
/usr/lib/ruby/3.0.0/rdoc/class_module.rb:702:in `superclass': stack level too deep (SystemStackError)
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:13:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	from /usr/lib/ruby/3.0.0/rdoc/normal_class.rb:18:in `ancestors'
	 ... 10066 levels...
	from /usr/lib/ruby/vendor_ruby/rubygems/command_manager.rb:180:in `process_args'
	from /usr/lib/ruby/vendor_ruby/rubygems/command_manager.rb:149:in `run'
	from /usr/lib/ruby/vendor_ruby/rubygems/gem_runner.rb:53:in `run'
	from /bin/gem:13:in `<main>'

thanks!

@lefte
Copy link

lefte commented May 29, 2024

I'm too green to Ruby to understand how to repair this, is it an issue with the methadone version? It no longer installs without errors on any version of Ruby 2 or 3 for me.

@matthutchinson
Copy link
Member

Hmm, apologies both. I've dropped my contributions to maintaining this gem in recent years. I'll try to pick this up soon and look at refreshing some of the dependencies, like methadone, which is at this point, very old.

@matthutchinson matthutchinson self-assigned this May 29, 2024
@matthutchinson
Copy link
Member

matthutchinson commented May 29, 2024

I've just tried myself (latest macOS and latest Ruby 3.3.1) it installs and runs fine.

Can you paste your OS version details, and which version of Ruby you're using; i.e.

ruby -v
uname -a

Also the output of

gem install methadone -v 1.9.5

@lefte
Copy link

lefte commented May 29, 2024

LOL you might have fixed it with the 0.16.5 release today? Before I was trying it on 0.16.4, but now:

$ ruby -v
ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]
$ uname -a
Darwin heimdall.lefte.com 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64
$ rbenv global 3.3.1
$ gem install lolcommits
Fetching lolcommits-0.16.5.gem
Fetching git-1.19.1.gem
Successfully installed git-1.19.1
Successfully installed lolcommits-0.16.5
Parsing documentation for git-1.19.1
Installing ri documentation for git-1.19.1
Parsing documentation for lolcommits-0.16.5
Installing ri documentation for lolcommits-0.16.5
Done installing documentation for git, lolcommits after 0 seconds
2 gems installed

A new release of RubyGems is available: 3.5.9 → 3.5.11!
Run `gem update --system 3.5.11` to update your installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants