Added generated files and .sasscache to .gitignore
Added condition to check for heroku environment

Ugly for now.