aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-05-28 22:55:14 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-05-28 22:55:14 +0000
commitd8b67f7fe1ff281a7ba00bd187fe938a12bb5566 (patch)
treeebc3617941c4e1bc18472cdfe4add237a7074e08 /railties/Rakefile
parent4472a30aadc35f8a9a67db8b0a2a7318c3a0dcfd (diff)
downloadrails-d8b67f7fe1ff281a7ba00bd187fe938a12bb5566.tar.gz
rails-d8b67f7fe1ff281a7ba00bd187fe938a12bb5566.tar.bz2
rails-d8b67f7fe1ff281a7ba00bd187fe938a12bb5566.zip
Generate rdoc with utf-8 charset. Closes #7188 [manfred, jferris]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index ad6590fe87..f444e823f0 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -270,6 +270,7 @@ Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Railties -- Gluing the Engine to the Rails"
rdoc.options << '--line-numbers' << '--inline-source' << '--accessor' << 'cattr_accessor=object'
+ rdoc.options << '--charset' << 'utf-8'
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
rdoc.rdoc_files.include('README', 'CHANGELOG')
rdoc.rdoc_files.include('lib/*.rb')