ruby on rails 3.2 - Passenger starting error with -e production -


when start passenger

source ./railsenv.sh; passenger start -p 50060 -e production -d

however, there errors ,when switch source ./railsenv.sh; passenger start -p 50060 -d. okay.

anybody has ideas?

env:

rails: 3.2.13

passenger: 3.09

ruby 1.9.2


production.rb in enviroments:

# code not reloaded between requests config.cache_classes = true

# full error reports disabled , caching turned on config.consider_all_requests_local = false config.action_controller.perform_caching = true

# disable rails's static asset server (apache or nginx this) config.serve_static_assets = false

# compress javascripts , css config.assets.compress = true

# don't fallback assets pipeline if precompiled asset missed config.assets.compile = false

# generate digests assets urls config.assets.digest = true

config.i18n.fallbacks = true

# send deprecation notices registered listeners config.active_support.deprecation = :notify


errors:

***[ pid=11397 thr=13479140 file=utils.rb:176 time=2013-07-17 16:36:49.230 ]: exception typeerror in phusionpassenger::rack::applicationspawner (no marshal_dump defined class binding) (process 11397, thread #): *** /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/utils.rb:141:in `dump' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/utils.rb:141:in `rescue in marshal_exception' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/utils.rb:136:in `marshal_exception' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/utils.rb:584:in `rescue in report_app_init_status' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/utils.rb:561:in `report_app_init_status' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/rack/application_spawner.rb:153:in `initialize_server' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server.rb:204:in `start_synchronously' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server.rb:180:in `start' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/rack/application_spawner.rb:128:in `start' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize' :10:in `synchronize' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' /nokia/sa_nmp/home/cotaweb/.passenger/standalone/3.0.9-x86_64-ruby1.9.2-linux-gcc4.1.2-1002/support/helper-scripts/passenger-spawn-server:99:in `' *** exception typeerror in spawn manager (instance of io needed) (process 11351, thread #):

you're running old version of phusion passenger. try phusion passenger 4.0.10 (latest release) has more features , more stable.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -