Hi John, Here is the routes.rb file:
ActionController::Routing::Routes.draw do |map| map.resources :alerts # The priority is based upon order of creation: first created -> highest priority. # You can have the root of your site routed by hooking up '' # -- just remember to delete public/index.html. map.connect '', :controller => 'store', :action => 'index' # Install the default route as the lowest priority. map.connect ':controller/:action/:id' end Thank you! On Jan 20, 1:55 pm, John Yerhot <[email protected]> wrote: > Paste the contents of your config/routes.rb file. > > -John > > On Jan 18, 11:29 pm, eduardopa <[email protected]> wrote: > > > Hi, > > > I am a Newbie to Mac and Rails. > > > I have some rails apps made using instantrails in windows, and have > > been trying to setup a mac as a developing machine. And the transition > > has not been as smooth as I thought. > > > I am using Leopard and installed mac ports and Xcode. > > > I am getting the following errors after I browse tohttp://0.0.0.0:3000: > > > ActionController::RoutingError (No route matches "/recipe/list" with > > {:method=>:get}): > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/routing/recognition_optimisation.rb:66:in > > `recognize_path' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/routing/route_set.rb:386:in `recognize' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:182:in `handle_request' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:110:in `dispatch_unlocked' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:123:in `dispatch' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:122:in `synchronize' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:122:in `dispatch' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:132:in `dispatch_cgi' > > /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/dispatcher.rb:39:in `dispatch' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > rails.rb:76:in `process' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > rails.rb:74:in `synchronize' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/ > > rails.rb:74:in `process' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 159:in `process_client' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 158:in `each' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 158:in `process_client' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 285:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 285:in `initialize' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 285:in `new' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 285:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 268:in `initialize' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 268:in `new' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb: > > 268:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/ > > configurator.rb:282:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/ > > configurator.rb:281:in `each' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/ > > configurator.rb:281:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails: > > 128:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/ > > command.rb:212:in `run' > > /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails: > > 281 > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:142:in > > `load_without_new_constant_marking' > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:142:in `load' > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:521:in `new_constants_in' > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:142:in `load' > > /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/ > > mongrel.rb:64 > > /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: > > 31:in `gem_original_require' > > /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: > > 31:in `require' > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:153:in `require' > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:521:in `new_constants_in' > > /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:153:in `require' > > /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/ > > server.rb:49 > > /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: > > 31:in `gem_original_require' > > /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: > > 31:in `require' > > script/server:3 > > > Rendering /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > > action_controller/templates/rescues/layout.erb (not_found) > > > Thanks for your help!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

