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 -- Posted via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 6, 7:49 am, Luca Scaljery <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On Mar 6, 7:49�am, Luca Scaljery <rails-mailing-l...-ARtvInVfO7m5VldFQK4jKA@public.gmane.orgt> > 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). > > FredI don''t do anything with ''builder.js'' in my html or javascript. I guess it has todo with the ApplicationController#index -- Posted via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---