Error Calling Dispatcher.dispatch # Nomethoderror Undefined Method
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Weird problem with Rails app and Mongrel up vote 13 down vote favorite I originally posted a question relating to this problem on serverfault.com: http://serverfault.com/questions/152587/apache-mod-proxy-to-another-server I have since realized that this is not an issue with my server setup, but my rails application. I have set this application up server-wise the exact same as another functioning rails app I have running on the same server. When I start the server my mongrel.log looks like this: ** Daemonized, any open files are closed. Look at /var/www/osuwebdev/tmp/pids/mongrel.pid and log/mongrel.log for info. ** Starting Mongrel listening at 0.0.0.0:8080 ** Starting Rails with production environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel 1.1.5 available at 0.0.0.0:8080 ** Writing PID file to /var/www/osuwebdev/tmp/pids/mongrel.pid When I load a page this pops up in the log: Wed Jun 30 19:46:10 +0000 2010: Error calling Dispatcher.dispatch #
05:21:20 +0000 2011: Error calling Dispatcher.dispatch #
just installed redmine https://rails.lighthouseapp.com/projects/8994/tickets/4690 1.2 (from scratch) following the official install guide. With rvm I installed ruby version 1.8.7 then everything else. $ mongrel_rails start -d -p 3000 -e production -c error calling /home/redmine/redmine -P log/mongrel.pid Then I open the website and try to login.I am presented with this: "You are being redirected" on "redirected" there is a link to the page where I should be, error calling dispatcher.dispatch and I'm not logged in if I go back to the homepage. In logs I see this: Starting Mongrel listening at 0.0.0.0:3000 Starting Rails with production environment... Rails loaded. Loading any Rails specific GemPlugins Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). Rails signals registered. HUP => reload (without restart). It might not work well. Mongrel 1.1.5 available at 0.0.0.0:3000 Writing PID file to log/mongrel.pidTue May 31 17:36:30 +0200 2011: Error calling Dispatcher.dispatch #
0Bugmash review queue 5Rails 3 High Priority Tickets All tickets Today's tickets Tickets I'm watching Assigned to me Reported by me Open tickets Closed tickets Aaron Patterson's tickets Aditya Sanghi's tickets Andrew White's tickets Anuj Dutta's tickets Ben Orenstein's tickets Brian Lopez's tickets CancelProfileIsBroken's tickets Carl Lerche's tickets Cezary Baginski's tickets Dan Pickett's tickets David Trasbo's tickets DHH's tickets Eloy Duran's tickets Emilio Tagua's tickets Frederick Cheung's tickets Geoff Buesing's tickets Jeff Kreeftmeijer's tickets Jeremy Kemper's tickets Jon Leighton's tickets Josh Kalderimis's tickets Joshua Peek's tickets José Valim's tickets Manfred Stienstra's tickets Marcel Molina's tickets Martin Gamsjaeger (snusnu)'s tickets Matt Aimonetti (mattetti)'s tickets Matt Jones's tickets Michael Klishin (antares)'s tickets Michael Koziarski's tickets Mike Riley's tickets Mikel Lindsaar's tickets Neeraj Singh's tickets Piotr Sarnacki's tickets Pratik's tickets Prem Sichanugrist (sikachu)'s tickets rails's tickets Repository's tickets Rick's tickets Rizwan Reza's tickets Rohit Arondekar's tickets Ryan Bigg's tickets Sam Ruby's tickets Santiago Pastorino's tickets Sven Fuchs's tickets Tarmo Tänav's tickets Tobias Lütke's tickets Xavier Noria's tickets Yehuda Katz (wycats)'s tickets Messages Milestones more 23.0.2 423.0.6 122.3.10 02.3.7 02.3.8 02.3.9 42.x 233.1 413.x Search Find tickets: [help] Keyword searching Type To find responsible:me tickets assigned to you tagged:"@high" tickets tagged @high milestone:next tickets in the upcoming milestone state:invalid tickets with the state invalid created:"last week" tickets created last week sort:number, importance, updated tickets sorted by #, importance or updated Combine keywords for powerful searching. Use advanced searching » This project is archived and is in readonly mode. #4690 ✓resolved Mongrel doesn't work with rails 2.3.8 Reported by Edgars Beigarts | May 25th, 2010 @ 06:44 PM All my apps stopped working with "mongrel_rails" when I upgraded from 2.3.5 to 2.3.8, but script/server still works with mongrel. To reproduce, create a new rails application with simple "render :text => 'Ok'" action and run "mongrel_rails start". $ mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel 1.1.5 available at 0.0.0