On Mar 6, 7:49 am, Luca Scaljery <[email protected]>
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
> So I have my RoR environment (via $> rails my_project) but when I ask
> forhttp://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/dispatch
> er.rb:182:in
> `handle_request'
>
> /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatch
> er.rb:110:in
> `dispatch_unlocked'
>
> /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatch
> er.rb:123:in
> `dispatch'
>
> /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatch
> er.rb:122:in
> `synchronize'
>
> /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatch
> er.rb:122:in
> `dispatch'
>
> /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatch
> er.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
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---