Whenever I am pushing to production (not Heroku) I am getting
rails assets precompile phase failed
I want to add a way to force my colleagues check their css code, hence I asked them all to run
rake assets:precompile
before even comiting to a branch so that they all make sure they didn't do any CSS syntax errors. Git is always generating public/assets
folder which I don't want to add to my git repository so I added the following line in my gitignore
-> public/assets
. Evan that, git doesn't want to ignore my files from public/assets
. Is there a way to ignore files generated into this folder? Do they have another path after being generated?