End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.activated_gem_paths
activated_gem_paths
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems.rb, line 588
def self.activated_gem_paths
@activated_gem_paths ||= 0
end
The number of paths in the +$LOAD_PATH+ from activated gems. Used to prioritize -I and +ENV['RUBYLIB']+ entries during require.