So I'm trying to do my first deploy to Heroku from the command line, and when I run "git push heroku master" I get the following error:
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/fierce-crag-
8770.git
There are similar errors discussed elsewhere, and one of the proposed solutions is to first do a git pull and then try to push.
If I run
"git pull heroku master"
I get the following error:
fatal: Couldn't find remote ref master
Unexpected end of command stream
Another solution was to run this code line by line:
$ rake assets:precompile
$ git add .
$ git commit -m "Add precompiled assets for Heroku"
$ git push heroku master
I got as far as "rake assets:precompile", but then got a "rake aborted" error message.
Any suggestions?