summaryrefslogtreecommitdiff
path: root/lib/bundler/installer
diff options
context:
space:
mode:
authorGlenn Pratt <glennpratt@gmail.com>2016-02-04 11:11:40 -0600
committerGlenn Pratt <glennpratt@gmail.com>2016-03-22 14:11:10 -0500
commit0ba8444faecbab3cd4da57c83a79a7e3a21f2fc9 (patch)
treeaa34478111592b70b30857a29886a63dcd8d7adf /lib/bundler/installer
parent65fe6b0f62c7ca115097cb55672dcd6b4ac824bf (diff)
downloadbundler-0ba8444faecbab3cd4da57c83a79a7e3a21f2fc9.tar.gz
Create standalone bundler/setup.rb at a consistent path.
Fixes #4274
Diffstat (limited to 'lib/bundler/installer')
-rw-r--r--lib/bundler/installer/standalone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer/standalone.rb b/lib/bundler/installer/standalone.rb
index 41fe207756..03411d85e2 100644
--- a/lib/bundler/installer/standalone.rb
+++ b/lib/bundler/installer/standalone.rb
@@ -38,7 +38,7 @@ module Bundler
end
def bundler_path
- File.join(Bundler.settings[:path], "bundler")
+ Bundler.root.join(Bundler.settings[:path], "bundler")
end
def gem_path(path, spec)