Passneger 4 no longer has Rack and Rails Autodetect settings
Use variable from the correct place