method

set_path

ruby latest stable - Class: Bundler::SharedHelpers

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

set_path()
private

No documentation available.

# File lib/bundler/shared_helpers.rb, line 327
    def set_path
      validate_bundle_path
      paths = (ENV["PATH"] || "").split(File::PATH_SEPARATOR)
      paths.unshift "#{Bundler.bundle_path}/bin"
      Bundler::SharedHelpers.set_env "PATH", paths.uniq.join(File::PATH_SEPARATOR)
    end