summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-28 02:55:20 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-28 02:55:20 +0200
commite7621981558060afd69666c52ab8b8e3507340a6 (patch)
tree410755aa09d7e43a9efd0091c7bf459726810c38
parent35781bbdbcf6f0394439aefd08afdf12ecfa4e08 (diff)
downloadbundler-e7621981558060afd69666c52ab8b8e3507340a6.tar.gz
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.
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
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"