From 232b9ade1a5c885537052a27c5d3cfeb65e5c265 Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Fri, 31 Aug 2012 18:16:37 -0400 Subject: Skip kindle's readme file on generation --- guides/rails_guides/generator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb index ee97c37fac..f7c0ee3bd7 100644 --- a/guides/rails_guides/generator.rb +++ b/guides/rails_guides/generator.rb @@ -152,6 +152,7 @@ module RailsGuides if kindle? Dir.entries("#{source_dir}/kindle").grep(GUIDES_RE).map do |entry| + next if entry == 'KINDLE.md' guides << "kindle/#{entry}" end end -- cgit v1.2.3