Ruby on Rails
Wednesday, July 20, 2016
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment