Method: LibGems.load_path_insert_index

Defined in:
lib/libgems.rb

.load_path_insert_indexObject

The index to insert activated gem paths into the $LOAD_PATH.

Defaults to the site lib directory unless gem_prelude.rb has loaded paths, then it inserts the activated gem’s paths before the gem_prelude.rb paths so you can override the gem_prelude.rb default $LOAD_PATH paths.



678
679
680
# File 'lib/libgems.rb', line 678

def self.load_path_insert_index
  index = $LOAD_PATH.index ConfigMap[:sitelibdir]
end