diff options
Diffstat (limited to 'guides')
-rw-r--r-- | guides/Rakefile | 2 | ||||
-rw-r--r-- | guides/rails_guides/kindle.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/Rakefile b/guides/Rakefile index f241cf5918..d2591f523c 100644 --- a/guides/Rakefile +++ b/guides/Rakefile @@ -13,7 +13,7 @@ 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/gp/feature.html?docId=1000765211" task :kindle do - require 'kindlerb' + require "kindlerb" unless Kindlerb.kindlegen_available? abort "Please run `setupkindlerb` to install kindlegen" end diff --git a/guides/rails_guides/kindle.rb b/guides/rails_guides/kindle.rb index 5ac802c817..9536d0bd3b 100644 --- a/guides/rails_guides/kindle.rb +++ b/guides/rails_guides/kindle.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'kindlerb' +require "kindlerb" require "nokogiri" require "fileutils" require "yaml" |