Skip to content

Commit

Permalink
Add basic documentation for bin_path and bundle_path
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Mar 2, 2012
1 parent 720b40b commit b4f4437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bundler.rb
Expand Up @@ -87,10 +87,12 @@ def ui
@ui ||= UI.new
end

# Returns absolute path of where gems are installed on the filesystem.
def bundle_path
@bundle_path ||= Pathname.new(settings.path).expand_path(root)
end

# Returns absolute location of where binstubs are installed to.
def bin_path
@bin_path ||= begin
path = settings[:bin] || "bin"
Expand Down

0 comments on commit b4f4437

Please sign in to comment.