diff options
author | Andre Arko <andre@arko.net> | 2013-02-13 14:17:17 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-13 19:43:51 -0800 |
commit | 4ff5d8483b2c6082ac3d0777fb120c2e979e3d38 (patch) | |
tree | e8ff0c27869c6a4c8740c532caec63908196ceef /lib/bundler.rb | |
parent | 478e5bca6f7071553221fe5c24c6a89815effa51 (diff) | |
download | bundler-4ff5d8483b2c6082ac3d0777fb120c2e979e3d38.tar.gz |
don't need to path up a path
Diffstat (limited to 'lib/bundler.rb')
-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 40742198..af1202d7 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -101,9 +101,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 @@ -336,7 +336,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 |