Skip to content

fix: uninitialized constant Gem::RubyGemsVersion#1

Open
JDutil wants to merge 1 commit intoalazycoder101:masterfrom
JuulLabs-OSS:jdutil/fix-bundle-install
Open

fix: uninitialized constant Gem::RubyGemsVersion#1
JDutil wants to merge 1 commit intoalazycoder101:masterfrom
JuulLabs-OSS:jdutil/fix-bundle-install

Conversation

@JDutil
Copy link
Copy Markdown

@JDutil JDutil commented Feb 12, 2026

I ran into an issue with gems pointing to the wrong locations and when blowing away my gems/rubies to to re-install them I began getting errors installing this gemspec:

› bundle update acts_as_commentable
Fetching https://github.com/Huckberry/avatax.git
Fetching https://github.com/JuulLabs-OSS/wanhub_client.git
Fetching https://github.com/alazycoder101/acts_as_commentable.git

[!] There was an error while loading `acts_as_commentable.gemspec`: uninitialized constant Gem::RubyGemsVersion. Bundler cannot continue.

 #  from /Users/jeff.dutil/.gem/ruby/3.3.10/bundler/gems/acts_as_commentable-1fb132ecb44f/acts_as_commentable.gemspec:24
 #  -------------------------------------------
 #
 >      if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
 #      else
 #  -------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant