I\'m following a rails prelaunch signup tutorial. Bootstrap was working fine deployed on heroku, but then I modified the bootstrap_and_override file to include a logo. Whe
To load assets in production environment:
How to load assets in production rails
Note: After following above link
rm -rf tmp/*
rm -rf public/assets/*
RAILS_ENV='production' rake assets:precompile
then restart your server
This is a long shot, but if you're using Chrome try pressing Ctrl+Shift+R to reload the page as Chrome can sometimes cache old CSS settings.
This issue can also happen when you are cloning an app and using a CDN for your assets.
Comment out config.action_controller.asset_host
in production.rb
if your heroku app is a staging site.
If your using sass...before you go through all this other trouble...make sure your not mixing .css and .scss files in your assets folder.
Heroku seems to have some trouble mixing the two when compiling assets. I can't explain why of if its an accurate explanation...but, in my own experience all I had to do to fix this was simply rename any .css files to .scss.
I had to run heroku run rake css:rebuild