diff options
author | Andre Arko <andre@arko.net> | 2015-12-13 21:01:55 +0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-12-14 16:23:29 -0800 |
commit | d62cd93131b2dda47e498f3c6b7d4edc25ff1840 (patch) | |
tree | 48a6c9bac4b4a0b543049aae3c9c77a35c24d3b8 | |
parent | 6c18c55406e386c6b9d591b589360face9211096 (diff) | |
download | bundler-fix-4147.tar.gz |
refrain from calling methods on nilfix-4147
fixes #4147
-rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index 8d4a114ede..38ab0a16c6 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -54,7 +54,7 @@ module Bundler end def respond_to?(*args) - super || @specification.respond_to?(*args) + super || @specification ? @specification.respond_to?(*args) : nil end def to_s |