# Problem running Rdoc from Rake in Rails 2.3

**URL:** <https://www.ruby-forum.com/t/problem-running-rdoc-from-rake-in-rails-2-3/163514>\
**Category:** Rails\
**Created:** [March 21, 2009, 8:01am UTC](https://www.ruby-forum.com/t/problem-running-rdoc-from-rake-in-rails-2-3/163514 "2009-03-21T08:01:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bornboulder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bornboulder](https://www.ruby-forum.com/u/bornboulder)\
**Post date:** [March 21, 2009, 8:01am UTC](https://www.ruby-forum.com/t/problem-running-rdoc-from-rake-in-rails-2-3/163514/1 "2009-03-21T08:01:12Z")

</div>

People,

I’m getting an error from Rake I’d like to debug. Here is a  
screendump:

Fri Mar 20 23:28 /b/tmp/myfc23 maco$ rake doc:plugins:rspec  
(in /b/tmp/myfc23)  
rdoc -o doc/plugins/rspec --title ‘Rspec Plugin Documentation’ --line-  
numbers --inline-source --charset utf-8 -T html vendor/plugins/rspec/  
lib/autotest/discover.rb

major-snip

95% [107/112] vendor/plugins/rspec/lib/spec/runner/reporter.rb  
vendor/plugins/rspec/lib/spec/runner/options.rb:217:52: Skipping  
require of dynamic string: “spec/runner/heckle\_runner#{suffix}”  
100% [112/112] vendor/plugins/rspec/lib/spec.rb

Generating Darkfish…  
uh-oh! RDoc had a problem:  
could not find template “html”

run with --debug for full backtrace  
rake aborted!  
Command failed with status (1): [rdoc -o doc/plugins/rspec --title  
'Rspec P…]

(See full trace by running task with --trace)  
Fri Mar 20 23:29 /b/tmp/myfc23 maco$

Here is some info about the rails I have installed:

Fri Mar 20 23:29 /b/tmp/myfc23 maco$ script/about  
About your application’s environment  
Ruby version 1.8.7 (i686-darwin9.6.2)  
RubyGems version 1.3.1  
Rack version 1.0 bundled  
Rails version 2.3.2  
Active Record version 2.3.2  
Action Pack version 2.3.2  
Active Resource version 2.3.2  
Action Mailer version 2.3.2  
Active Support version 2.3.2  
Application root /b/tmp/myfc23  
Environment development  
Database adapter sqlite3  
Database schema version 0  
Fri Mar 20 23:31 /b/tmp/myfc23 maco$

Here is a list of my gems:

Fri Mar 20 23:47 /b/tmp/myfc23 maco$  
Fri Mar 20 23:47 /b/tmp/myfc23 maco$ gem list

\*\*\* LOCAL GEMS \*\*\*

actionmailer (2.3.2, 2.2.2)  
actionpack (2.3.2, 2.2.2)  
activerecord (2.3.2, 2.2.2)  
activeresource (2.3.2, 2.2.2)  
activesupport (2.3.2, 2.2.2)  
cgi\_multipart\_eof\_fix (2.5.0)  
chronic (0.2.3)  
columnize (0.3.0)  
daemons (1.0.10)  
darkfish-rdoc (1.1.5)  
diff-lcs (1.1.2)  
extlib (0.9.10)  
fastthread (1.0.1)  
gem\_plugin (0.2.3)  
highline (1.5.0)  
hoe (1.9.0)  
hpricot (0.6.164)  
libxml-ruby (0.9.8)  
linecache (0.43)  
mongrel (1.1.5)  
mysql (2.7)  
newgem (1.2.3)  
rack (0.9.1)  
rails (2.3.2, 2.2.2)  
rake (0.8.4, 0.8.3)  
rcov (0.8.1.2.0)  
rdoc (2.4.1)  
RedCloth (4.1.9)  
rhodes (0.3.0)  
rspec (1.2.0, 1.1.12)  
rspec-rails (1.2.0, 1.1.12)  
rubigen (1.5.2)  
ruby-debug (0.10.3)  
ruby-debug-base (0.10.3)  
rubyforge (1.0.3)  
sqlite3-ruby (1.2.4, 1.2.3)  
syntax (1.0.0)  
templater (0.5.0)  
ZenTest (3.8.0)  
Fri Mar 20 23:48 /b/tmp/myfc23 maco$

As you can see from the above list that my version of rake is 0.8.4  
As you can see from the above list that my version of rdoc is 2.4.1  
As you can see from the above list that my version of darkfish-rdoc is  
1.1.5

The error:

Generating Darkfish…  
uh-oh! RDoc had a problem:  
could not find template “html”

Suggests to me that I am missing something simple…

-Bjorn
