diff options
author | Prem Sichanugrist <s@sikachu.com> | 2012-08-31 18:16:37 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2012-09-17 15:54:22 -0400 |
commit | 232b9ade1a5c885537052a27c5d3cfeb65e5c265 (patch) | |
tree | 037001c613ff4827ad6e8543b1fb6d60f581d66b | |
parent | 848d13a8aafccae1ae222ae4da20a35bf0bb6df3 (diff) | |
download | rails-232b9ade1a5c885537052a27c5d3cfeb65e5c265.tar.gz rails-232b9ade1a5c885537052a27c5d3cfeb65e5c265.tar.bz2 rails-232b9ade1a5c885537052a27c5d3cfeb65e5c265.zip |
Skip kindle's readme file on generation
-rw-r--r-- | guides/rails_guides/generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |