Mark charlton
Mark charlton

Reputation: 377

Heroku deploy taking extremely long

I have deployed to Heroku many times but, its never taken this long. It stops at Running: rake assets:precompile at then just pauses.

Any ideas to make it deploy as fast as it used to?

I think it has something to do with the fact that I just updated to rails 3.2.12

Upvotes: 2

Views: 997

Answers (2)

Ashish Bista
Ashish Bista

Reputation: 4693

You can also try turbo-sprockets-rails3 gem (https://github.com/ndbroadbent/turbo-sprockets-rails3) which skips asset compilation stage if there is no changes in assets.

Upvotes: 1

Mark charlton
Mark charlton

Reputation: 377

I found the solution.

When upgrading to 3.2.12

add this to your Gemfile

source "https://rubygems.org"
ruby "1.9.3"

Heroku by default will use ruby "1.9.2" which is slower to precompile assets

Upvotes: 1

Related Questions