aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index be0f449efc..30d3748441 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -285,7 +285,7 @@ task :guides do
asciidoc_conf = 'doc/guides/asciidoc.conf'
ignore = ['..', 'icons', 'images', 'templates', 'stylesheets']
- ignore << 'active_record_basics.txt'
+ #ignore << 'active_record_basics.txt'
indexless = ['index.txt', 'authors.txt']
@@ -301,7 +301,7 @@ task :guides do
end
entries.each do |entry|
- next if ignore.include?(entry)
+ next if ignore.include?(entry) or entry =~ /^\./ # because Vim is always saving hidden swap files
if File.directory?(File.join(source, entry))
# If the current entry is a directory, then we will want to compile