aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2010-03-29 05:10:42 +0100
committerwycats <wycats@gmail.com>2010-03-28 22:45:03 -0700
commitd39ec8195546075afb5830c7f5a53bb74946521c (patch)
tree984a532cc304e761f6c71ea5dd10e25809218d49 /railties/Rakefile
parentd31e03f3566471f2ad04dc6dace889fae962f7a8 (diff)
downloadrails-d39ec8195546075afb5830c7f5a53bb74946521c.tar.gz
rails-d39ec8195546075afb5830c7f5a53bb74946521c.tar.bz2
rails-d39ec8195546075afb5830c7f5a53bb74946521c.zip
Make Railties RDoc task work again [#4291 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index 6368456366..d88036f829 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -1,5 +1,3 @@
-require File.expand_path('../../load_paths', __FILE__)
-
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
@@ -60,10 +58,8 @@ Rake::RDocTask.new { |rdoc|
rdoc.options << '--charset' << 'utf-8'
rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo'
rdoc.rdoc_files.include('README', 'CHANGELOG')
- rdoc.rdoc_files.include('lib/*.rb')
- rdoc.rdoc_files.include('lib/rails/*.rb')
- rdoc.rdoc_files.include('lib/rails/generators/*.rb')
- rdoc.rdoc_files.include('lib/rails/commands/**/*.rb')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+ rdoc.rdoc_files.exclude('lib/rails/generators/**/templates/*')
}
# Generate GEM ----------------------------------------------------------------------------