passenger 2.2.7 uses config.ru but starts in development environment

0 views
Skip to first unread message

Alex Gusev

unread,
Nov 23, 2009, 5:50:31 AM11/23/09
to Ruby on Rails: Talk
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
Reply all
Reply to author
Forward
0 new messages