diff options
author | Andre Arko <andre@arko.net> | 2014-07-23 12:54:14 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-07-23 12:54:14 -0700 |
commit | 4870340132878c30d49a5d5fc27257e2abe46e7e (patch) | |
tree | e92cb92626225ece72e7e6903d37be13d0f2eaf7 | |
parent | 27b13e6b7bad067a5fbec53cf8b971ece97ce34b (diff) | |
download | bundler-4870340132878c30d49a5d5fc27257e2abe46e7e.tar.gz |
Memoize slow call to #expand_path
Fixes #3104
-rw-r--r-- | lib/bundler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 620f2e6b23..9bf16521dd 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -189,7 +189,7 @@ module Bundler end def root - default_gemfile.dirname.expand_path + @root ||= default_gemfile.dirname.expand_path end def app_config_path |