Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem.activated_gem_paths
() -> ::Integer
activated_gem_paths
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems.rb, line 629
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.
See also
.activate_and_load_bin_path
.add_to_load_path
.already_loaded?
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0