[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684799: unblock: bundler/1.1.4-5



Control: tag -1 moreinfo

On Mon, Aug 13, 2012 at 07:20:02PM -0500, Gunnar Wolf wrote:
> Please unblock package bundler
> 
> This package displays its usage information using 'less'. On systems
> without 'less' installed, using 'sensible-pager' should work. The diff
> is trivial:

> +Index: bundler/lib/bundler/cli.rb
> +===================================================================
> +--- bundler.orig/lib/bundler/cli.rb    2012-07-25 17:34:22.000000000 -0500
> ++++ bundler/lib/bundler/cli.rb 2012-08-13 19:04:18.000000000 -0500
> +@@ -41,7 +41,7 @@
> + 
> +         if have_groff? && root !~ %r{^file:/.+!/META-INF/jruby.home/.+}
> +           groff   = "groff -Wall -mtty-char -mandoc -Tascii"
> +-          pager   = ENV['MANPAGER'] || ENV['PAGER'] || 'less -R'
> ++          pager   = ENV['MANPAGER'] || ENV['PAGER'] || 'sensible-pager -R'
> + 
> +           Kernel.exec "#{groff} #{root}/#{command} | #{pager}"
> +         else

Well, more for instance does not know -R (and that's the default if PAGER is
unset). Did you test that with something else than less?

Kind regards
Philipp Kern 

Attachment: signature.asc
Description: Digital signature


Reply to: