4

Passenger + nginx: application doesn't run in production mode

view full story
linux-howto

http://serverfault.com – I'm using Passenger + Nginx to run a Rails app. If i use "rails_env development;" the application works fine. But if i run in production mode, i get "We're sorry, but something went wrong.". I did ran db:migrate for production and i can access the database normally. The strange thing is that i don't get any new entries in logs ( nginx and rails one ) and i made sure nginx user could write on them. If i run rails console production, it works fine: # rails console production Loading production environment (Rails 3.2.0) 1.9.3-p125 :001 > Any ideas of what might be happening? What else (HowTos)