Skip to content

Instantly share code, notes, and snippets.

@rmw
Last active August 29, 2015 14:05
Show Gist options
  • Save rmw/24706016be0a267ec6e8 to your computer and use it in GitHub Desktop.
Save rmw/24706016be0a267ec6e8 to your computer and use it in GitHub Desktop.
Fix asset issues on Heroku

1. Remove compiled assets from your Github repository

rm -rf public/assets/*
git add -A
git commit -m "Remove compiled assets"

2. Ignore any later compiled assets

Add public/assets/** to your .gitignore file

git commit -am "Ignore compiled assets"

3. Push to Heroku

git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment