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