ifunam/salva — Issue #133: Problems in create action for seminaries controller
Author: juarlex
Created: 2012-02-16 19:37:54+00:00
State: open

A ActiveRecord::InvalidForeignKey occurred in seminaries#create:

PGError: ERROR: insert or update on table "seminaries" violates foreign key constraint "seminaries_institution_id_fkey"
DETAIL: Key (institution_id)=(0) is not present in table "institutions".
: INSERT INTO "seminaries" ("auditorium", "created_on", "institution_id", "instructors", "modified_by_id", "month", "registered_by_id", "seminarytype_id", "title", "updated_on", "url", "year") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"
activerecord (3.1.3) lib/active_record/connection_adapters/postgresql_adapter.rb:1034:in `get_last_result'

-------------------------------
Request:
-------------------------------

* URL : https://salva.fisica.unam.mx/seminaries
* IP address: 132.248.209.42
* Parameters: {"utf8"=>"✓", "authenticity_token"=>"INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4=", "seminary"=>{"instructors"=>"A. M. Cetto,. O. Alonso-Gamboa, S. Córdoba G. y Elea Giménez Toledo", "title"=>"224.\tOrganized Access to the Ibero-American Quality Journals ", "seminarytype_id"=>"4", "user_seminaries_attributes"=>{"0"=>{"user_id"=>168, "roleinseminary_id"=>"2"}}, "year"=>"2011", "month"=>"9", "institution_id"=>"null"}, "commit"=>"Guardar", "action"=>"create", "controller"=>"seminaries"}
* Rails root: /home/deployer/apps/salva

-------------------------------
Session:
-------------------------------

* session id: [FILTERED]
* data: {"_csrf_token"=>"INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4=",
"warden.user.user.key"=>["User", [168], nil],
"warden.user.user.session"=>{"last_request_at"=>2012-02-10 17:45:17 UTC},
"search_enabled"=>true}

-------------------------------
Environment:
-------------------------------

* CONTENT_LENGTH : 537
* CONTENT_TYPE : application/x-www-form-urlencoded
* DOCUMENT_ROOT : /home/deployer/apps/salva/public
* HTTPS : on
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7
* HTTP_ACCEPT_ENCODING : gzip,deflate
* HTTP_ACCEPT_LANGUAGE : es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : __utma=111627456.1840396443.1277147696.1277147696.1277147696.1; __utma=227192202.870530322.1319122161.1319122161.1326403354.2; __utmz=227192202.1326403354.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=instituto%20de%20fisica.unam; _salva_session=364320e9ab4e1d0a1f0d3d6882c4d95e; NREUM=s=1328895954949&r=92865&p=77116
* HTTP_HOST : salva.fisica.unam.mx
* HTTP_KEEP_ALIVE : 300
* HTTP_REFERER : https://salva.fisica.unam.mx/seminaries/new
* HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)
* PASSENGER_APP_SPAWNER_IDLE_TIME : -1
* PASSENGER_APP_TYPE : rack
* PASSENGER_CONNECT_PASSWORD : [FILTERED]
* PASSENGER_DEBUGGER : false
* PASSENGER_ENVIRONMENT : production
* PASSENGER_FRAMEWORK_SPAWNER_IDLE_TIME : -1
* PASSENGER_FRIENDLY_ERROR_PAGES : true
* PASSENGER_GROUP :
* PASSENGER_MAX_REQUESTS : 0
* PASSENGER_MIN_INSTANCES : 1
* PASSENGER_SHOW_VERSION_IN_HEADER : true
* PASSENGER_SPAWN_METHOD : :smart
* PASSENGER_USER :
* PASSENGER_USE_GLOBAL_QUEUE : true
* PATH_INFO : /seminaries
* QUERY_STRING :
* REMOTE_ADDR : 132.248.209.42
* REMOTE_PORT : 49616
* REQUEST_METHOD : POST
* REQUEST_URI : /seminaries
* SCGI : 1
* SCRIPT_NAME :
* SERVER_ADDR : 132.248.7.50
* SERVER_NAME : salva.fisica.unam.mx
* SERVER_PORT : 443
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : nginx/1.0.10
* UNION_STATION_SUPPORT : false
* _ : _
* action_controller.instance : seminaries#create
* action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/]
* action_dispatch.remote_ip : 132.248.209.42
* action_dispatch.request.content_type : application/x-www-form-urlencoded
* action_dispatch.request.formats : [text/html]
* action_dispatch.request.parameters : {"utf8"=>"✓", "authenticity_token"=>"INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4=", "seminary"=>{"instructors"=>"A. M. Cetto,. O. Alonso-Gamboa, S. Córdoba G. y Elea Giménez Toledo", "title"=>"224.\tOrganized Access to the Ibero-American Quality Journals ", "seminarytype_id"=>"4", "user_seminaries_attributes"=>{"0"=>{"user_id"=>168, "roleinseminary_id"=>"2"}}, "year"=>"2011", "month"=>"9", "institution_id"=>"null"}, "commit"=>"Guardar", "action"=>"create", "controller"=>"seminaries"}
* action_dispatch.request.path_parameters : {:action=>"create", :controller=>"seminaries"}
* action_dispatch.request.query_parameters : {}
* action_dispatch.request.request_parameters: {"utf8"=>"✓", "authenticity_token"=>"INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4=", "seminary"=>{"instructors"=>"A. M. Cetto,. O. Alonso-Gamboa, S. Córdoba G. y Elea Giménez Toledo", "title"=>"224.\tOrganized Access to the Ibero-American Quality Journals ", "seminarytype_id"=>"4", "user_seminaries_attributes"=>{"0"=>{"user_id"=>168, "roleinseminary_id"=>"2"}}, "year"=>"2011", "month"=>"9", "institution_id"=>"null"}, "commit"=>"Guardar"}
* action_dispatch.routes : #
* action_dispatch.secret_token : 52d737e54b7c19af1c06c7101e405f842645b5c9446acd9cfa70bbdebf6aada443bb35460a5af20e3f93d567e59999fd6bd1d78ccc865b961c84318b4ebbf308
* action_dispatch.show_exceptions : true
* exception_notifier.options : {:sender_address=>"salva@fisica.unam.mx", :exception_recipients=>"alex@fisica.unam.mx", :email_prefix=>"[SALVA - Exception notification] ", :sections=>["request", "session", "environment", "backtrace"], :ignore_exceptions=>[ActiveRecord::RecordNotFound, AbstractController::ActionNotFound, ActionController::RoutingError]}
* rack-cache.allow_reload : false
* rack-cache.allow_revalidate : false
* rack-cache.cache_key : Rack::Cache::Key
* rack-cache.default_ttl : 0
* rack-cache.entitystore : rails:/
* rack-cache.metastore : rails:/
* rack-cache.private_headers : ["Authorization", "Cookie"]
* rack-cache.storage : #
* rack-cache.use_native_ttl : false
* rack-cache.verbose : true
* rack.errors : #
* rack.input : #
* rack.multiprocess : true
* rack.multithread : false
* rack.request.cookie_hash : {"__utma"=>"111627456.1840396443.1277147696.1277147696.1277147696.1", "__utmz"=>"227192202.1326403354.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=instituto de fisica.unam", "_salva_session"=>"364320e9ab4e1d0a1f0d3d6882c4d95e", "NREUM"=>"s=1328895954949&r=92865&p=77116"}
* rack.request.cookie_string : __utma=111627456.1840396443.1277147696.1277147696.1277147696.1; __utma=227192202.870530322.1319122161.1319122161.1326403354.2; __utmz=227192202.1326403354.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=instituto%20de%20fisica.unam; _salva_session=364320e9ab4e1d0a1f0d3d6882c4d95e; NREUM=s=1328895954949&r=92865&p=77116
* rack.request.form_hash : {"utf8"=>"✓", "authenticity_token"=>"INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4=", "seminary"=>{"instructors"=>"A. M. Cetto,. O. Alonso-Gamboa, S. Córdoba G. y Elea Giménez Toledo", "title"=>"224.\tOrganized Access to the Ibero-American Quality Journals ", "seminarytype_id"=>"4", "user_seminaries_attributes"=>{"0"=>{"user_id"=>"168", "roleinseminary_id"=>"2"}}, "year"=>"2011", "month"=>"9", "institution_id"=>"null"}, "commit"=>"Guardar"}
* rack.request.form_input : #
* rack.request.form_vars : utf8=%E2%9C%93&authenticity_token=INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4%3D&seminary%5Binstructors%5D=A.+M.+Cetto%2C.+O.+Alonso-Gamboa%2C+S.+C%C3%B3rdoba+G.+y+Elea+Gim%C3%A9nez+Toledo&seminary%5Btitle%5D=224.%09Organized+Access+to+the+Ibero-American+Quality+Journals+&seminary%5Bseminarytype_id%5D=4&seminary%5Buser_seminaries_attributes%5D%5B0%5D%5Buser_id%5D=168&seminary%5Buser_seminaries_attributes%5D%5B0%5D%5Broleinseminary_id%5D=2&seminary%5Byear%5D=2011&seminary%5Bmonth%5D=9&seminary%5Binstitution_id%5D=null&commit=Guardar
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session : {"_csrf_token"=>"INVYdzYucsB808UEhmMbZtKr5gCtK57ZZ0SAoAlJZb4=", "warden.user.user.key"=>["User", [168], nil], "warden.user.user.session"=>{"last_request_at"=>2012-02-10 17:45:17 UTC}, "search_enabled"=>true}
* rack.session.options : {:key=>"_salva_session", :path=>"/", :domain=>nil, :expire_after=>1800 seconds, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :memcache_server=>["127.0.0.1:11211"], :namespace=>"sessions", :id=>"364320e9ab4e1d0a1f0d3d6882c4d95e"}
* rack.url_scheme : https
* rack.version : [1, 0]
* warden : Warden::Proxy:102168280 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:ldap_authenticatable], :academic=>[:ldap_authenticatable]}, :intercept_401=>false, :failure_app=>#}

* Process: 11373
* Server : salva

-------------------------------
Backtrace:
-------------------------------

activerecord (3.1.3) lib/active_record/connection_adapters/postgresql_adapter.rb:1034:in `get_last_result'
activerecord (3.1.3) lib/active_record/connection_adapters/postgresql_adapter.rb:1034:in `exec_cache'
activerecord (3.1.3) lib/active_record/connection_adapters/postgresql_adapter.rb:603:in `block in exec_query'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
activesupport (3.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/active_record.rb:31:in `block in log_with_newrelic_instrumentation'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/active_record.rb:28:in `log_with_newrelic_instrumentation'
activerecord (3.1.3) lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_query'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:63:in `exec_insert'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
activerecord (3.1.3) lib/active_record/relation.rb:70:in `insert'
activerecord (3.1.3) lib/active_record/persistence.rb:313:in `create'
activerecord (3.1.3) lib/active_record/timestamp.rb:51:in `create'
activerecord (3.1.3) lib/active_record/callbacks.rb:268:in `block in create'
activesupport (3.1.3) lib/active_support/callbacks.rb:390:in `_run_create_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.3) lib/active_record/callbacks.rb:268:in `create'
activerecord (3.1.3) lib/active_record/persistence.rb:294:in `create_or_update'
activerecord (3.1.3) lib/active_record/callbacks.rb:264:in `block in create_or_update'
activesupport (3.1.3) lib/active_support/callbacks.rb:435:in `_run_save_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.3) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.1.3) lib/active_record/persistence.rb:37:in `save'
activerecord (3.1.3) lib/active_record/validations.rb:50:in `save'
activerecord (3.1.3) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.1.3) lib/active_record/transactions.rb:241:in `block (2 levels) in save'
activerecord (3.1.3) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.1.3) lib/active_record/transactions.rb:208:in `transaction'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:491:in `block in transaction_with_trace_ActiveRecord_self_name_transaction'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:486:in `transaction_with_trace_ActiveRecord_self_name_transaction'
activerecord (3.1.3) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
activerecord (3.1.3) lib/active_record/transactions.rb:241:in `block in save'
activerecord (3.1.3) lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
activerecord (3.1.3) lib/active_record/transactions.rb:240:in `save'
inherited_resources (1.3.0) lib/inherited_resources/base_helpers.rb:66:in `create_resource'
inherited_resources (1.3.0) lib/inherited_resources/actions.rb:33:in `create'
app/controllers/publication_controller.rb:52:in `create'
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.1.3) lib/active_support/callbacks.rb:452:in `_run__904153305__process_action__120264001__callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `block in instrument'
activesupport (3.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `instrument'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
activerecord (3.1.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `block in perform_action_with_newrelic_trace'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:250:in `perform_action_with_newrelic_trace'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.1.3) lib/action_controller/metal.rb:193:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal.rb:236:in `block in action'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:29:in `call'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `block in call'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:96:in `block in recognize'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:95:in `recognize'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:532:in `call'
newrelic_rpm (3.3.1) lib/new_relic/rack/browser_monitoring.rb:23:in `call'
barista (1.2.1) lib/barista/server.rb:33:in `call'
sass (3.1.12) lib/sass/plugin/rack.rb:54:in `call'
exception_notification (2.5.2) lib/exception_notifier.rb:25:in `call'
warden (1.1.0) lib/warden/manager.rb:35:in `block in call'
warden (1.1.0) lib/warden/manager.rb:34:in `catch'
warden (1.1.0) lib/warden/manager.rb:34:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.3.6) lib/rack/etag.rb:23:in `call'
rack (1.3.6) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/flash.rb:247:in `call'
rack (1.3.6) lib/rack/session/abstract/id.rb:195:in `context'
rack (1.3.6) lib/rack/session/abstract/id.rb:190:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/cookies.rb:331:in `call'
activerecord (3.1.3) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (3.1.3) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
rack (1.3.6) lib/rack/sendfile.rb:101:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.1.3) lib/rails/rack/logger.rb:13:in `call'
rack (1.3.6) lib/rack/methodoverride.rb:24:in `call'
rack (1.3.6) lib/rack/runtime.rb:17:in `call'
activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.3.6) lib/rack/lock.rb:15:in `call'
rack-ssl (1.3.2) lib/rack/ssl.rb:27:in `call'
rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward'
rack-cache (1.1) lib/rack/cache/context.rb:139:in `pass'
rack-cache (1.1) lib/rack/cache/context.rb:151:in `invalidate'
rack-cache (1.1) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.1) lib/rack/cache/context.rb:50:in `call'
railties (3.1.3) lib/rails/engine.rb:456:in `call'
railties (3.1.3) lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:79:in `block in spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb:479:in `safe_fork'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:64:in `spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:264:in `spawn_rack_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server:99:in `

'