aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-xactivemodel/Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index 5ea7b373fc..14c02f183f 100755
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -32,13 +32,13 @@ require 'rake/rdoctask'
# Generate the RDoc documentation
Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = "#{dir}/doc"
+ rdoc.rdoc_dir = "doc"
rdoc.title = "Active Model"
rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
rdoc.options << '--charset' << 'utf-8'
rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo'
- rdoc.rdoc_files.include("#{dir}/README", "#{dir}/CHANGES")
- rdoc.rdoc_files.include("#{dir}/lib/**/*.rb")
+ rdoc.rdoc_files.include("README", "CHANGELOG")
+ rdoc.rdoc_files.include("lib/**/*.rb")
end