diff options
author | Charles Lowell <cowboyd@thefrontside.net> | 2011-08-19 12:13:19 -0500 |
---|---|---|
committer | Charles Lowell <cowboyd@thefrontside.net> | 2011-08-19 12:13:19 -0500 |
commit | bcf3a9a6ef59cbca083e285870dda826267a2db5 (patch) | |
tree | 2e2bb7e13116487b5f62febf51667e64bbd7889d /lib/bundler/installer.rb | |
parent | 6d253d99a820a0fe5f171a31e4572735f2613378 (diff) | |
download | bundler-bcf3a9a6ef59cbca083e285870dda826267a2db5.tar.gz |
make --standalone respect --path
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 995b632d37..5adda8cef6 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -91,8 +91,8 @@ module Bundler end def generate_standalone(groups) - path = Bundler.settings[:path] - bundler_path = File.join(path, "bundler") + standalone_path = Bundler.settings[:path] + bundler_path = File.join(standalone_path, "bundler") FileUtils.mkdir_p(bundler_path) paths = [] @@ -108,7 +108,7 @@ module Bundler spec.require_paths.each do |path| full_path = File.join(spec.full_gem_path, path) - paths << Pathname.new(full_path).relative_path_from(Bundler.root.join("bundle/bundler")) + paths << Pathname.new(full_path).relative_path_from(Bundler.root.join(bundler_path)) end end |