-----> 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?
Solution :
Look at the view source of active admin page it should have
active_admin.css
print.css
active_admin.js
Include that in production.rb
with
with
config.assets.initialize_on_precompile = false
config.assets.precompile += %w(active_admin.css active_admin.js active_admin/print.css)
And done!
0 Comments