I'm getting error on trying to deploy my rails 4 project on Heroku. whenever I try git push Heroku master
command I get this error,
C:\Sites\projects\eventstream>git push heroku master
ssh: heroku.com: no address associated with name
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I tried to check for typo errors with,
C:\Sites\projects\eventstream>git remote -v
heroku git@heroku.com:boiling-river-3096.git (fetch)
heroku git@heroku.com:boiling-river-3096.git (push)
origin git@github.com:nileshlg2003/eventstream.git (fetch)
origin git@github.com:nileshlg2003/eventstream.git (push)
It is same on heroku.com I don't know how to solve it, any help will be appreciated.
Please try this
First you check did you create properly heroku
heroku create boiling-river-309
and then
git remote set-url heroku git@heroku.com:boiling-river-3096.git
more info follow this
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.