I use SASS files in Rails. And I am wondering if I should have
gitignoregenerated CSS files.
The problem with adding CSS files to Git is that they are simply redundant. SASS public/stylesheets/sass's files are the files I need.
So, I have the following lines in gitignore:
But if I do this when I click on my application on Heroku, there are no CSS files there.
- What could be the best methods for managing SASS / CSS files?
I have never tried packing assets (like mini CSS files for a production environment), but I plan to do this when I move to an environment without Iroku with Capistrano.
source
share