Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Set `config.serve_static_assets` to true in the production environment #133

Closed
gabebw opened this Issue Jan 10, 2013 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

gabebw commented Jan 10, 2013

Heroku injects a plugin that does this for us, but I just ran into a situation where I had to set it manually. I think it's better to turn it on rather than rely on Heroku.

Contributor

croaky commented Jul 14, 2013

@gabebw Sorry for the delay getting back to you on this. Since you opened the issue, Rails 4 has come out and Heroku has offered the rails_12factor gem, which is not automatically injected into the environment during deploys, but rather is a choice the developer has to make for their Gemfile. I believe that's the direction we should go and have just opened a pull request for it here:

#196

@croaky croaky closed this Jul 14, 2013

Contributor

gabebw commented Jul 14, 2013

Nice! I agree that the gem is the way to go here.

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