Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails heroku运行rake db:迁移-身份验证错误_Ruby On Rails_Postgresql_Authentication_Heroku - Fatal编程技术网

Ruby on rails heroku运行rake db:迁移-身份验证错误

Ruby on rails heroku运行rake db:迁移-身份验证错误,ruby-on-rails,postgresql,authentication,heroku,Ruby On Rails,Postgresql,Authentication,Heroku,就像在标题中一样——当我试图在Heroku上运行数据库时,我收到了这个错误 heroku run rake db:migrate Running `rake db:migrate` attached to terminal... up, run.3332 ! Authentication error 就这些。我一直在学习这个()教程,直到现在一切都很顺利。我甚至找不到任何类似的话题 @编辑 我试着跟着这个话题: 即使重新创建帐户也没有帮助。运行以下命令 heroku run rake

就像在标题中一样——当我试图在Heroku上运行数据库时,我收到了这个错误

heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.3332
 !    Authentication error
就这些。我一直在学习这个()教程,直到现在一切都很顺利。我甚至找不到任何类似的话题

@编辑 我试着跟着这个话题:

即使重新创建帐户也没有帮助。

运行以下命令

heroku run rake db:migrate -app APPNAME
如果问题仍然存在 那么您可能未经授权 那么就用这个吧

heroku login

输入在heroku上注册的电子邮件和密码,然后重试。

对于heroku上的身份验证问题,这里有一些非常好的建议: