I updated my app to Rails 4 but it failed deploying to Heroku when running asset precompile. As other questions have touched on, I think this was failing due to attempting to find an ENV variable that didn't exist for my redis-to-go. So I added the Heroku labs feature mentioned in this post. I also followed Heroku's suggestions in this post.
That fixed the error during precompile but my assets aren't showing. Things I've done:
- Added the
rails_12factorgem - Tried running
RAILS_ENV=production bundle exec rake assets:compilelocally (after commenting out the redisENV["redistogo_url"]bit - Added
config.serve_static_assets = trueto myproduction.rbfile
Yet none of this seems to work. It could be that I didn't do this in the proper order. I know from other questions others have found success so am wondering what else I can try.