aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-12-23 00:49:42 -0800
committerAndre Arko <andre@arko.net>2013-12-23 00:49:42 -0800
commita770b224f29da759094850d19a8df301a1967a5e (patch)
tree302ad80a6d1b12432f5439774d826eaccacb1ad0 /lib/bundler.rb
parent7fdb5f939e65099b32e2c8b8e70e3f67f75fbefb (diff)
parent1ceb5a30421faaadf16c17b4cadffad9f262f3ae (diff)
downloadbundler-a770b224f29da759094850d19a8df301a1967a5e.tar.gz
Merge pull request #2759 from gjaldon/add-package-options
Add --path and --gemfile opts to package
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index de450871..4176d3a8 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -197,8 +197,9 @@ module Bundler
root.join('.bundle')
end
- def app_cache
- root.join("vendor/cache")
+ def app_cache(custom_path = nil)
+ path = custom_path || root
+ path.join("vendor/cache")
end
def tmp