(Passenger + NGINX) - no layout files loaded

Hi there,

I just installed foodsoft with Passenger and NGINX for production environment.
When running passenger standalone it works great and serves all files correctly, but when using NGINX and passenger it doesn’t serve the layout files…
any ideas what I can do to fix?


this did the trick…

RAILS_ENV=production rake assets:precompile

Great you found it.
Don’t forget to run the worker as well (RAILS_ENV=production rake
resque:work), e.g. as an init script (or even as an @reboot cron entry).