debug icon indicating copy to clipboard operation
debug copied to clipboard

`source': uninitialized constant

Open CurtisHumphrey opened this issue 2 years ago • 2 comments

Your environment

  • ruby -v: 3.1.2
  • rdbg -v: fails

Describe the bug when I run rdbg -v I get the following failure:

rdbg
/Users/curtis/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.7/lib/bundler/rubygems_ext.rb:18:in `source': uninitialized constant Gem::Source (NameError)

      (defined?(@source) && @source) || Gem::Source::Installed.new
                                           ^^^^^^^^
Did you mean?  Gem::SourceList

... lot of from's

Expected behavior The command to work

CurtisHumphrey avatar Jun 16 '23 16:06 CurtisHumphrey

I have no idea about it. Could you try re-install debug.gem?

ko1 avatar Sep 25 '23 08:09 ko1

This was a Bundler issue: https://github.com/rubygems/rubygems/issues/5351 I think it is safe to close this, @CurtisHumphrey if you somehow are still experiencing this issue, run bundle update --bundler. You may need to gem install bundler ahead of time.

joe-sharp avatar Jan 17 '24 02:01 joe-sharp