# Errors when asking for index.html

**URL:** <https://www.ruby-forum.com/t/errors-when-asking-for-index-html/162148>\
**Category:** Rails\
**Created:** [March 6, 2009, 8:49am UTC](https://www.ruby-forum.com/t/errors-when-asking-for-index-html/162148 "2009-03-06T08:49:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeanluca](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Post date:** [March 6, 2009, 8:49am UTC](https://www.ruby-forum.com/t/errors-when-asking-for-index-html/162148/1 "2009-03-06T08:49:19Z")

</div>

Hi All

I’m trying setup a RoR project. So far I’ve only done some HTML stuff  
(nothing with controller, models etc)

So I have my RoR environment (via $\> rails my\_project) but when I ask  
for [http://127.0.0.1:3000](http://127.0.0.1:3000)  
I get the following error

```auto
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-06
08:11:17) [GET]

ActionController::RoutingError (No route matches
"/javascripts/lib/builder.js" with {:method=>:get}):
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb:66:in
`recognize_path'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb:386:in
`recognize'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:182:in
`handle_request'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in
`dispatch_unlocked'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in
`dispatch'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in
`synchronize'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in
`dispatch'
    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in
`dispatch_cgi'
.......
```

At this point I only want to use static html files (in public) css and  
javascript

Any suggestions how to fix this ?

thnx  
LuCa

---

<div class="post-metadata">

**Author:** ![jeanluca](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Post date:** [March 6, 2009, 11:41am UTC](https://www.ruby-forum.com/t/errors-when-asking-for-index-html/162148/2 "2009-03-06T11:41:02Z")

</div>

On Mar 6, 7:49 am, Luca S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi All
> 
> I’m trying setup a RoR project. So far I’ve only done some HTML stuff  
> (nothing with controller, models etc)

Looks like your index.html is referencing a javascript file that  
doesn’t exist (at least not at the location you’ve asked for).

Fred

---

<div class="post-metadata">

**Author:** ![jeanluca](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Post date:** [March 6, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/errors-when-asking-for-index-html/162148/3 "2009-03-06T12:05:50Z")

</div>

Frederick C. wrote:

> On Mar 6, 7:49ï¿½am, Luca S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > Hi All
> > 
> > I’m trying setup a RoR project. So far I’ve only done some HTML stuff  
> > (nothing with controller, models etc)
> 
> Looks like your index.html is referencing a javascript file that  
> doesn’t exist (at least not at the location you’ve asked for).
> 
> Fred

I don’t do anything with ‘builder.js’ in my html or javascript.  
I guess it has todo with the ApplicationController#index
