Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Gem.activated_gem_paths

() -> ::Integer
activated_gem_paths

The number of paths in the +$LOAD_PATH+ from activated gems. Used to prioritize -I and ENV['RUBYLIB'] entries during require.

See also .add_to_load_path .already_loaded? also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0