diff options
author | Andre Arko <andre@arko.net> | 2013-02-13 14:17:17 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-13 14:17:52 -0800 |
commit | e99713e47696cdea3089313c7959c6dcddf3d7ac (patch) | |
tree | 62d6a36af6c299bed26f47f0a808b2a8c5b5abf4 | |
parent | c4c275464ded8a4a848cc3e8edc3ca0eee6a579b (diff) | |
download | bundler-e99713e47696cdea3089313c7959c6dcddf3d7ac.tar.gz |
don't need to path up a path
-rw-r--r-- | lib/bundler.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index b1dbc7077b..91b4f60c6c 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -99,9 +99,9 @@ module Bundler def bin_path @bin_path ||= begin path = settings[:bin] || "bin" - path = Pathname.new(path).expand_path(root) + path = Pathname.new(path).expand_path(root).expand_path FileUtils.mkdir_p(path) - Pathname.new(path).expand_path + path end end @@ -326,7 +326,6 @@ module Bundler def configure_gem_home_and_path blank_home = ENV['GEM_HOME'].nil? || ENV['GEM_HOME'].empty? - if settings[:disable_shared_gems] ENV['GEM_PATH'] = '' configure_gem_home |