diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 22fca7fdf4..3ef0e28f26 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -122,7 +122,7 @@ module Bundler else command = "bundle-#{cli}" end - man_path = File.expand_path("../../../man", __FILE__) + man_path = File.expand_path("../../../man", __FILE__) # man files are located under the share directory with the default gems of bundler man_path = File.expand_path("../../../../../share/man/man1", __FILE__) unless File.directory?(man_path) man_pages = Hash[Dir.glob(File.join(man_path, "*")).grep(/.*\.\d*\Z/).collect do |f|