path (Gem)

    # File lib/rubygems.rb, line 680
      def self.path
        @gem_path ||= nil

        unless @gem_path then
          paths = [ENV['GEM_PATH'] || Gem.configuration.path || default_path]

          if defined?(APPLE_GEM_HOME) and not ENV['GEM_PATH'] then
            paths << APPLE_GEM_HOME
          end

          set_paths paths.compact.join(File::PATH_SEPARATOR)
        end

        @gem_path
      end