errors when asking for index.html

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 I get the following error [code] 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' ....... [/code] At this point I only want to use static html files (in public) css and javascript

Any suggestions how to fix this ?

thnx LuCa

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

Frederick Cheung wrote: