load_path_insert_index()
public
The index to insert activated gem paths
into the $LOAD_PATH. The activated gem’s paths are inserted before site lib
directory by default.
# File lib/rubygems.rb, line 574
def self.load_path_insert_index
index = $LOAD_PATH.index RbConfig::CONFIG['sitelibdir']
index
end