Having a Strange Issue. Deploying a Rails 5 App on Ruby 2.3.1 


With

config.eager_load = true #in production.rb


When I try starting Unicorn with


bundle exec unicorn -D -c 
/home/deploy/apps/cgrates_web_production/shared/config/unicorn.rb -E production

I get this error


FATAL:  Peer authentication failed for user "demo"  (PG::ConnectionBad)  #in 
unicorn.log

If I set

config.eager_load = false #in production.rb


everything works as expected. Unicorn Starts up and i can access the 
Application and perform CRUD Operations.


Any Help would be highly appreciated

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/95ebe9c8-2e32-4ed6-a0df-bd183c737df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to