diff options
author | Andre Arko <andre@arko.net> | 2013-12-23 00:49:42 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-12-23 00:49:42 -0800 |
commit | a770b224f29da759094850d19a8df301a1967a5e (patch) | |
tree | 302ad80a6d1b12432f5439774d826eaccacb1ad0 /lib/bundler.rb | |
parent | 7fdb5f939e65099b32e2c8b8e70e3f67f75fbefb (diff) | |
parent | 1ceb5a30421faaadf16c17b4cadffad9f262f3ae (diff) | |
download | bundler-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.rb | 5 |
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 |