# Can't see documentation after executing "rake appdoc"

**URL:** <https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374>\
**Category:** Rails\
**Created:** [March 6, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374 "2006-03-06T18:40:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [March 6, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374/1 "2006-03-06T18:40:22Z")

</div>

I successfully got rake appdoc to work on the depot application (after  
manually applying the patch for rake 0.70).

Everything appears to generate fine, but I can’t pull up the  
documentation in my browser.

I’ve tried:

[http://localhost:3000/doc/app/](http://localhost:3000/doc/app/)  
[http://localhost:3000/doc/app/index.html](http://localhost:3000/doc/app/index.html)

I always get:

Recognition failed for “/doc/app/”

with “ActionController: Exception caught” in the title

My guess is that RoR is looking for a “doc” controller here.

Is this a routing problem?  
Do I need to tell RoR that “doc” is not a controller???

This is really irritating - I can’t find any information on what you  
should expect to be able to see in the browser after a successful “rake  
appdoc”

Thanks,  
Wes

---

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [March 6, 2006, 6:43pm UTC](https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374/2 "2006-03-06T18:43:01Z")

</div>

Maybe I’m just supposed to pull up index.html as a file and go from  
there?

I was assuming that Rails would know what to do with a “doc” request.

Wes G. wrote:

> I successfully got rake appdoc to work on the depot application (after  
> manually applying the patch for rake 0.70).
> 
> Everything appears to generate fine, but I can’t pull up the  
> documentation in my browser.
> 
> I’ve tried:
> 
> [http://localhost:3000/doc/app/](http://localhost:3000/doc/app/)  
> [http://localhost:3000/doc/app/index.html](http://localhost:3000/doc/app/index.html)
> 
> I always get:
> 
> Recognition failed for “/doc/app/”
> 
> with “ActionController: Exception caught” in the title
> 
> My guess is that RoR is looking for a “doc” controller here.
> 
> Is this a routing problem?  
> Do I need to tell RoR that “doc” is not a controller???
> 
> This is really irritating - I can’t find any information on what you  
> should expect to be able to see in the browser after a successful “rake  
> appdoc”
> 
> Thanks,  
> Wes

---

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [March 6, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/cant-see-documentation-after-executing-rake-appdoc/77374/3 "2006-03-06T23:24:49Z")

</div>

Wes-

```
there is no default way to view those docs from within your rails

```

application. You are supposed to just open the index.html in your  
docs folder as a file from your local filesystem. Or if you want to  
view them from your rails app make a copy of the docs directory into  
your public directory. then you can view them through your app like  
this:

[http://localhost:3000/docs/](http://localhost:3000/docs/)…

-Ezra

On Mar 6, 2006, at 9:43 AM, Wes G. wrote:

> > Everything appears to generate fine, but I can’t pull up the
> > 
> > appdoc"  
> > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

-Ezra Z.  
Yakima Herald-Republic  
WebMaster

> **[yakimaherald.com | Yakima, Washington - We Tell Your Stories](https://www.yakimaherald.com/)**

509-577-7732  
removed\_email\_address@domain.invalid
