<div dir="ltr">On 1 August 2013 11:45, brendan murphy <span dir="ltr"><<a href="mailto:brendan@enthuse.me" target="_blank">brendan@enthuse.me</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div style="word-wrap:break-word"><div><br></div><div>Think it all comes down to have you passéd this brick wall</div><div><br></div><div>```</div><div>config.assets.initialize_on_precompile = ?</div><div><br></div><div>
```</div>
</div></blockquote></div><br></div><div class="gmail_extra" style>As it happens `initialize_on_precompile` is no longer necessary in Rails 4.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>And Pipelines are cool <a href="https://devcenter.heroku.com/articles/labs-pipelines">https://devcenter.heroku.com/articles/labs-pipelines</a></div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Get your CI to automatically deploy to staging,</div><div class="gmail_extra" style>and then just `heroku pipeline:promote` when you're happy with staging.</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>It takes about 20 seconds to deploy to production with a pipeline:promote</div><div class="gmail_extra" style>(as compared to 5-ish minutes with a fresh `git push && rake assets:precompile`)</div>

</div>