小编Yae*_*ley的帖子

尝试访问heroku控制台时,"您无法访问该应用程序"

我最近开始使用Ruby on Rails在Heroku上的一个项目中进行合作.我被添加为协作者并将远程添加到我的环境中.经过一些开发,我推了一些修改,没有问题:

$ git push staging
Run Code Online (Sandbox Code Playgroud)

staging是我的遥控器的名称.后来,当试图在Heroku上运行"rake test"时,我收到了一个错误:

$heroku run rake test --app staging
Running `rake test` attached to terminal... failed
 !    You do not have access to the app staging.
Run Code Online (Sandbox Code Playgroud)

这很奇怪,因为我完全能够推动自己的变化.我检查了Heroku仪表板,看到我的推送记录在那里.然后我尝试使用控制台查看日志,并出现同样的问题.

$ heroku logs --app staging
 !    You do not have access to the app staging.
Run Code Online (Sandbox Code Playgroud)

最后,我试图访问控制台,但它也失败了.

$ heroku run rails console --app staging
Running `rails console` attached to terminal... failed
 !    You do not have access to the app staging.
Run Code Online (Sandbox Code Playgroud)

此时我更新了我的Heroku工具箱安装,并使用"heroku auth"验证我的电子邮件是否显示,但错误仍然存​​在.我目前正在联系Heroku支持,但我希望有类似问题的人可以帮助我并行.

谢谢!

collaboration ruby-on-rails heroku rails-console rake-test

15
推荐指数
3
解决办法
1万
查看次数