From e7621981558060afd69666c52ab8b8e3507340a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 28 Aug 2019 02:55:20 +0200 Subject: Give a better error on a release failure case If you don't have `ronn` installed, the `man:check` task will fail but it won't let you know the exact reason. --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 36d313d177..ef673ba38a 100644 --- a/Rakefile +++ b/Rakefile @@ -187,6 +187,7 @@ namespace :man do Spec::Rubygems.gem_require("ronn") rescue Gem::LoadError => e task(:build) { abort "We couln't activate ronn (#{e.requirement}). Try `gem install ronn:'#{e.requirement}'` to be able to build the help pages" } + task(:check) { abort "We couln't activate ronn (#{e.requirement}). Try `gem install ronn:'#{e.requirement}'` to be able to build the help pages" } else directory "man" -- cgit v1.2.1