RoutingError

Subscribe to RoutingError 4 post(s), 3 voice(s)

 
Avatar Jimmy Baker 1 post(s) Using Rails 2.1.1, when I start my server and make my request, I get the following routing error:
ActionController::RoutingError (No route matches ”/tuneup/sandbox” with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path’
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:384:in `recognize’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in `handle_request’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch_without_newrelic’
/vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/dispatcher.rb:41:in `dispatch’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:159:in `process_client’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `each’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `process_client’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `initialize’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `new’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `initialize’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `new’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:282:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `each’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run’
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load’
/usr/bin/mongrel_rails:19
Rendering /Users/jimmybaker/Desktop/tapeonline/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
List of plugins that I’m using
  1. active_merchant
  2. acts_as_state_machine
  3. acts_as_tree
  4. attachment_fu
  5. backgrounddrb
  6. haml
  7. in_place_editing
  8. jrails
  9. make_resourceful
  10. newrelic_rpm
  11. paperclip
  12. permalink_fu
  13. restful_authenication
  14. rspec
  15. rspec-rails
  16. sexy-migrations
  17. simple_auto_complete
  18. ssl_requirement
  19. will_paginate
 
Avatar Rachel G Administator 50 post(s)

Hi Jimmy,
We do have a work around for the routing problem. If you can rename the fiveruns_tuneup plugin in your /vendor/plugins directory to zfiveruns_tuneup the TuneUp bar should show up.
We use alias_method_chain for the routing, but it looks like there is another plugin that is monkey-patched, so our plugin will need to load last.
Thanks,
Rachel

 
Avatar Ayyanar 3 post(s)

As I said in the in my previous post in “Tuneup bar is not getting displayed”, we are using the config.gem in the environment.rb. We don’t use five runs tune up plugin. Plz let us know on how to fix the routing error

 
Avatar Rachel G Administator 50 post(s)

If you are using NewRelic, they have updated their gem to use alias_method_chain for loading. Updating your NewRelic gem should solve this issue.
Thanks,
Rachel