summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 0d9a523310..93093f2e32 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -274,13 +274,7 @@ module Bundler
end
def root
- @root ||= begin
- SharedHelpers.root
- rescue GemfileNotFound
- bundle_dir = default_bundle_dir
- raise GemfileNotFound, "Could not locate Gemfile or .bundle/ directory" unless bundle_dir
- bundle_dir.parent
- end
+ @root ||= SharedHelpers.root
end
def app_config_path