summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 99cf99199b..ab293c5f8e 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -288,13 +288,11 @@ module Bundler
app_config_pathname = Pathname.new(app_config)
if app_config_pathname.absolute?
- app_config_pathname
- else
- root.join(app_config_pathname)
+ return app_config_pathname
end
- else
- root.join(".bundle")
end
+
+ root.join(app_config || ".bundle")
end
def app_cache(custom_path = nil)