在heroku上部署rails项目

时间:2013-10-03 07:42:02

标签: git heroku deployment ssh ruby-on-rails-4

我正在开发一个简单的rails项目,并希望将它部署在heroku上进行测试,我是heroku的新手,并且引用URL https://devcenter.heroku.com/articles/getting-started-with-rails4来部署我的项目,所有事情都运行良好但是当我尝试使用此命令git push heroku master在heroku上推送我的项目,它会引发错误,说明

!  Your key with fingerprint 83:72:44:8c:67:69:5f:85:34:43:95:2d:a5:6d:54:ac is not authorized to access secret-fjord-7315.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.  

我使用命令$ ssh-keygen -t rsa创建了ssh键 我做错了什么请建议我该怎么办?提前致谢。我使用的是rails 4和ruby 1.9.3

1 个答案:

答案 0 :(得分:0)

尝试使用heroku accounts为您设置ssh键(使用自动选项)。重要的是你在做什么,所以看看here。希望它有所帮助。

相关问题