Permalink
Browse files

Merge pull request #14590 from czak/improved_kindlerb_error_message

Improve error message for guides:generate:kindle
  • Loading branch information...
2 parents 2c835a6 + 251840f commit 6da3e9ad5bf38ea54135424f360df49495c07afe @arthurnn arthurnn committed Apr 3, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/Rakefile
View
@@ -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`"

0 comments on commit 6da3e9a

Please sign in to comment.