diff options
| -rw-r--r-- | lib/rubygems/specification.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 4753186a83..e5541e57b1 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1912,6 +1912,14 @@ class Gem::Specification < Gem::BasicSpecification @full_name ||= super end + ## + # Work around old bundler versions removing my methods + # Can be removed once RubyGems can no longer install Bundler 2.5 + + def gem_dir # :nodoc: + super + end + def gems_dir @gems_dir ||= File.join(base_dir, "gems") end |
