lib/bundler/cli/show.rb in bundler-2.3.10 vs lib/bundler/cli/show.rb in bundler-2.3.11

- old
+ new

@@ -16,10 +16,10 @@ Bundler.load.lock end if gem_name if gem_name == "bundler" - path = File.expand_path("../../../..", __FILE__) + path = File.expand_path("../../..", __dir__) else spec = Bundler::CLI::Common.select_spec(gem_name, :regex_match) return unless spec path = spec.full_gem_path unless File.directory?(path)