diff --git a/libexec/rbenv-help b/libexec/rbenv-help index f15e83fd..9a3049aa 100755 --- a/libexec/rbenv-help +++ b/libexec/rbenv-help @@ -36,7 +36,7 @@ extract_initial_comment_block() { } collect_documentation() { - awk ' + $(type -p gawk awk | head -1) ' /^Summary:/ { summary = substr($0, 10) next