Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
use plaintext helpfiles when running in-jar under jruby... groff does…
Browse files Browse the repository at this point in the history
…n't like in-jar paths
  • Loading branch information
mccraig mccraig of the clan mccraig authored and indirect committed Oct 2, 2010
1 parent 12f7285 commit 480f039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Expand Up @@ -42,7 +42,7 @@ def help(cli = nil)
if manpages.include?(command)
root = File.expand_path("../man", __FILE__)

if have_groff?
if have_groff? && root !~ %r{^file:/.+!/META-INF/jruby.home/.+}
groff = "groff -Wall -mtty-char -mandoc -Tascii"
pager = ENV['MANPAGER'] || ENV['PAGER'] || 'more'

Expand Down

0 comments on commit 480f039

Please sign in to comment.