I realize this may or may not be a buildpack issue but I figured I'd start here and at least get some ideas on how to debug it.
We have a Rails 4 app on Heroku that consists of several engines and a wrapper Rails app. If I remove the heroku_12factor gem and change serve_static_assets = false in production.rb, nothing in the public folder will load. I simply get a Heroku level 404. My assumption, which could definitely be wrong, is that if we're using Nginx we should turn off serving of static assets at the Rails level.
EDIT: I also forgot to mention I've setup our Unicorn config and Procfile to match the readme.
I've tried changing tagged versions of the buildpack, setting up a nginx.conf.erb with a defined root under system, and animal sacrifice. So far none have worked.
Thanks for your time creating and maintaining this buildpack. Any advice you've got is appreciated.
Hey Ryan,
I realize this may or may not be a buildpack issue but I figured I'd start here and at least get some ideas on how to debug it.
We have a Rails 4 app on Heroku that consists of several engines and a wrapper Rails app. If I remove the heroku_12factor gem and change serve_static_assets = false in production.rb, nothing in the public folder will load. I simply get a Heroku level 404. My assumption, which could definitely be wrong, is that if we're using Nginx we should turn off serving of static assets at the Rails level.
EDIT: I also forgot to mention I've setup our Unicorn config and Procfile to match the readme.
Our buildpacks file looks like:
We're using https://github.com/ddollar/heroku-buildpack-multi.git as our Heroku buildpack config var.
I'm not sure if my meager logs are helpful. As an example I've got
I've tried changing tagged versions of the buildpack, setting up a nginx.conf.erb with a defined root under system, and animal sacrifice. So far none have worked.
Thanks for your time creating and maintaining this buildpack. Any advice you've got is appreciated.