This forum is no longer active. OR, Rails' cgi handling could not use headers.include?, but that's a work-around. HTTPS Learn more about clone URLs Download ZIP Code Revisions 1 Raw gistfile1.txt ** Writing PID file to tmp/pids/mongrel.8000.pid ** Daemonized, any open files are closed. Any ideas? http://stackoverflow.com/questions/3152909/weird-problem-with-rails-app-and-mongrel
You flagged this item as spam. Regarding this, are both patches mongrel.rb and patch_for_mongrel.rb compatible? The gist: Mongrel's CGI doesn't work in Rails 2.3.8+ w/o monkey patching 2 separate (old) bugs, one for Rack, and the other for Mongrel.
or if updating rack is tough, just make this change manually (sorry no diff) to gems/actionpack-2.3.8/lib/action_controller/cgi_process.rb at around :51. Any redirect done results in page saying "You are being redirected" -- the redirect header, obviously not being transmitted in the response. This line of code didn't seem to agree with the way my shared host is setup. Completed in 38ms (DB: 35) | 302 Found [http://projects.mydomain.com/] I have tried fixes adding the mongrel.rb patch in the initializers folder (http://www.redmine.org/issues/7688) and still no luck.
Thanks for any help.c RE: Redmine 1.2 with mongrel: You are being redirected - Added by Marios Moutzouris over 4 years ago Ok. Rails signals registered. RE: Redmine 1.2 with mongrel: You are being redirected - Added by Daniele Segato over 5 years ago I'm totally new to ruby / rails / redmineI'll appreciate help.. amnesia7 August 2nd, 2010 @ 09:49 PM I'm new to RoR and my app is running from a shared host so bear with me.
Are both needed in Rails 2.3.11 ? Regarding this, are both patches mongrel.rb and patch_for_mongrel.rb compatible? Ken Collins July 11th, 2010 @ 05:43 PM I took the throw it all at the wall approach and so far so good. I assume a cookie should be set somewhere along the way.
Having not worked with a mongrel rails app, I didn't know where I would find the log, but it was in the app's log directory (of course). http://www.redmine.org/issues/7688 Rails loaded. Ivan Cenov wrote: Most Active This Week shows 96.90% activity.On the other side, http://mongrel.rubyforge.org/svn/ does not respond just now. Save this ruby code in your app to config/mongrel.rb: http://gist.github.com/471663 In your config/environment.rb, at the very end of the file add: require File.join(File.dirname(File.expand_path(FILE)), 'mongrel') In that same file add this line
For some reason I had to comment out the "if" statement: if Rails.version == '2.3.8' && Gem.available?('mongrel', Gem::Requirement.new('~>1.1.5')) && self.class.const_defined?(:Mongrel) and the associated "end" at the bottom. his comment is here Already have an account? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. You flagged this item as spam.
How can I have low-level 5e necromancer NPCs controlling many, many undead in this converted adventure? Can you post the output of your script/about, I think a plugin might be pulling in inherited_resources and causing the error (could be one of fine too)Category changed from Permissions to mongrel.rb - mongrel.rb (2.83 KB) Giuseppe Lippolis, 2011-12-11 22:35 Related issues Related to Redmine - Feature #6887: Upgrade to Rails 2.3.11 Closed 2010-11-13 Related to Redmine - Defect #8520: "Error 500" this contact form In the 'header' method the latter is used, which causes @head['cookie'] to be a string, even though Rails sets an Array.
b. Damien White August 3rd, 2010 @ 03:09 AM Tag changed from 2.3.8, mongrel, mongrel_cluster, rack to 2, mongrel, mongrel_cluster, rack Ken, Thanks! Roberto Aguilar February 14th, 2011 @ 10:40 PM We spent a while researching this problem and ended up here to get the problem solved, but we have a quick note that
Since nothing appears to have been done about it, I dug into it myself. Could intelligent life have existed on Mars while it was habitable? The error occurred while evaluating nil.split> /Users/be/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/cgi_process.rb:54:in `dispatch_cgi' /Users/be/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi' /Users/be/.gem/ruby/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:27:in `dispatch' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new' /Users/be/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in This is related to Mongrel_rails service "--prefix" that does not work well with Rails 2.3.x.
Browse other questions tagged ruby-on-rails rubygems rack redmine or ask your own question. 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. Not the answer you're looking for? navigate here Nat Brown June 16th, 2010 @ 06:02 PM for those of you still having issues, you do need to apply both the rack fix and the diff bshand posted.
and mongrel fails (log: Error calling Dispatcher.dispatch #
We recommend upgrading to the latest Safari, Google Chrome, or Firefox. All gists GitHub Sign up for a GitHub account Sign in Create a gist now Instantly share code, notes, csnk May 18th, 2011 @ 08:29 AM We are the professional underwear manufacturer, underwear supplier, underwear factory, custom underwear. demersus June 4th, 2010 @ 11:11 PM I can confirm this issue is still happening. ChiliProject Search Home Projects All Projects More Blog ?
Let us know if this fixes the issue. Is it a fallacy, and if so which, to believe we are special because our existence on Earth seems improbable? for fix it i have update mongrel.rb adding '2.3.14' to rails version on first line. With rvm I installed ruby version 1.8.7 then everything else. $ mongrel_rails start -d -p 3000 -e production -c /home/redmine/redmine -P log/mongrel.pid Then I open the website and try to login.I
Updated at 2011-05-12 11:19 pm. SUzB September 9th, 2010 @ 02:25 PM Thanks Mike! I've used the code by Ken Collins in a /config/initializers/mongrel.rb file but I'm still getting the issue.