Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem.add_to_load_path

(*::String paths) -> ::Array[::String]
add_to_load_path(*paths)

Add a list of paths to the $LOAD_PATH at the proper place.