aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Nogueira Neves <arthurnn@gmail.com>2014-04-03 15:33:54 -0400
committerArthur Nogueira Neves <arthurnn@gmail.com>2014-04-03 15:33:54 -0400
commit6da3e9ad5bf38ea54135424f360df49495c07afe (patch)
tree51721e94025c7a23647aa5aebc7a2fc452baae26
parent2c835a6aacec28e1f72ea44861731eb1364081bd (diff)
parent251840f20adca3b727a3c3a659a5ce9db47ff260 (diff)
downloadrails-6da3e9ad5bf38ea54135424f360df49495c07afe.tar.gz
rails-6da3e9ad5bf38ea54135424f360df49495c07afe.tar.bz2
rails-6da3e9ad5bf38ea54135424f360df49495c07afe.zip
Merge pull request #14590 from czak/improved_kindlerb_error_message
Improve error message for guides:generate:kindle
-rw-r--r--guides/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/Rakefile b/guides/Rakefile
index d6dd950d01..94d4be8c0a 100644
--- a/guides/Rakefile
+++ b/guides/Rakefile
@@ -13,8 +13,8 @@ namespace :guides do
desc "Generate .mobi file. The kindlegen executable must be in your PATH. You can get it for free from http://www.amazon.com/kindlepublishing"
task :kindle do
- unless `kindlerb -v 2> /dev/null` =~ /kindlerb 0.1.1/
- abort "Please `gem install kindlerb`"
+ unless `kindlerb -v 2> /dev/null` =~ /kindlerb 0.1.1/
+ abort "Please `gem install kindlerb` and make sure you have `kindlegen` in your PATH"
end
unless `convert` =~ /convert/
abort "Please install ImageMagick`"