resolve/refinerycms — Issue #1186: rake assets:precompile is not working on heroku cedar stack
Author: nogeek
Created: 2011-12-16 16:38:07+00:00
State: open

using the latest master I get the following error on deploy:

Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?

Tasks: TOP => environment
(See full trace by running task with --trace)
Precompiling assets failed, enabling runtime asset compilation
Injecting rails31_enable_runtime_asset_compilation
Please see this article for troubleshooting help:
http://devcenter.heroku.com/articles/rails31_heroku_cedar#troubleshooting

The heroku docs suggest as does the log that it is trying to connect to a database during precompilation. Any help would be much appreciated thanks!