method
bin_path
ruby latest stable - Class:
Bundler
Method not available on this version
This method is only available on newer versions. The first available version (v2_6_3) is shown here.
bin_path()public
Returns absolute location of where binstubs are installed to.
# File lib/bundler.rb, line 88
def bin_path
@bin_path ||= begin
path = settings[:bin] || "bin"
path = Pathname.new(path).expand_path(root).expand_path
SharedHelpers.filesystem_access(path) {|p| FileUtils.mkdir_p(p) }
path
end
end Related methods
- Class methods
- app_cache
- app_config_path
- bin_path
- bundle_path
- bundler_major_version
- clean_env
- clean_exec
- clean_system
- clear_gemspec_cache
- configure
- configured_bundle_path
- current_ruby
- default_bundle_dir
- default_gemfile
- default_lockfile
- definition
- environment
- feature_flag
- frozen_bundle?
- git_present?
- home
- install_path
- load
- load_gemspec
- load_gemspec_uncached
- load_marshal
- local_platform
- locked_gems
- mkdir_p
- original_env
- read_file
- require
- require_thor_actions
- requires_sudo?
- reset!
- reset_paths!
- reset_rubygems!
- rm_rf
- root
- ruby_scope
- rubygems
- settings
- setup
- specs_path
- sudo
- system_bindir
- tmp
- tmp_home_path
- ui
- ui=
- use_system_gems?
- user_bundle_path
- user_cache
- user_home
- which
- with_clean_env
- with_friendly_errors
- with_original_env
- Private methods
-
configure_gem_home -
configure_gem_home_and_path -
configure_gem_path -
eval_gemspec -
eval_yaml_gemspec -
overwrite_loaded_gem_version -
with_env