Everybody,
I get an error when I run this command: “git push heroku master”. The error log shows the following:
$ git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts.
Counting objects: 3, done.
Writing objects: 100% (3/3), 209 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
! Heroku push rejected, no Rails or Rack app detected
To git@heroku.com:simple-earth-536.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@app_name.git'
Any idea what could cause this? I welcome any suggestions, thanks all.
This means that you are not in a rails application, such as if you are not in the correct directory.
Make sure you are actually in your apps directory.
This is the flow you should go through”