Error while pushing c9 to heroku



If I do git push heroku master, I get this error:

remote: Tasks: TOP => environment remote: (See full trace by running task with --trace) remote: ! remote: ! Precompiling assets failed. remote: ! remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: Verifying deploy.... remote: remote: ! Push rejected to blooming-earth-92822. remote: To ! [remote rejected] master -> master (pre-receive hook declined)

I’ve tried using answers that have been posted in stackoverflow, and also in c9, but none of them seem to work.

Also, if I run rake db:migrate I get this error:

rake aborted! LoadError: Could not load 'active_record/connection_adapters/pg_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql', 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile.

Help would be appreciated! :smile: