diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-28 02:55:20 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-28 02:55:20 +0200 |
commit | e7621981558060afd69666c52ab8b8e3507340a6 (patch) | |
tree | 410755aa09d7e43a9efd0091c7bf459726810c38 /Rakefile | |
parent | 35781bbdbcf6f0394439aefd08afdf12ecfa4e08 (diff) | |
download | bundler-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.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |