Alex Gusev
2009-Nov-23 10:50 UTC
passenger 2.2.7 uses config.ru but starts in development environment
Hi. Today i updated passenger to new 2.2.7 version and my app started to work incorrectly, because it lauched in development environment. I tried to set "RailsEnv production", "RackEnv production" at my httpd.conf, but this dont work. So, maybe somenthing wrong with my config.ru? #!/usr/bin/env rackup -p3000 require "config/environment" use Rails::Rack::LogTailer use Rack::AssetPath # <- my own middleware use Rails::Rack::Static run ActionController::Dispatcher.new What is wrong? Where can i read about customizing config.ru for production environments? Thank you -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.