部署到heroku时出现问题

发布于 2024-12-10 17:54:20 字数 1390 浏览 0 评论 0原文

当我尝试用 Heroku 做任何事情时,我一直遇到这个非常烦人的应用程序...添加键、删除等。我看过很多其他帖子,但这似乎对很多人来说都不是问题的人,所以我希望你能提供帮助。

这是当我尝试说 heroku keys:add 时得到的结果:

charlotte-dator:showwwdown holgersindbaek$ heroku keys:add
Enter your Heroku credentials.
Email: [email protected] 
Password: 
/Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:207:in `initialize': Permission denied - /Users/holgersindbaek/.heroku/credentials (Errno::EACCES)
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:207:in `open'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:207:in `write_credentials'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:130:in `ask_for_and_save_credentials'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:71:in `get_credentials'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/command/keys.rb:40:in `add'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/command.rb:114:in `send'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/command.rb:114:in `run'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/bin/heroku:14
    from /usr/bin/heroku:19:in `load'
    from /usr/bin/heroku:19

真的希望有人能指出我正确的方向。谢谢。

I've been getting this very annoying app when I try to do anything with heroku... adding keys, deplying etc. I've looked at a lot of other posts, but it doesn't seem to be a problem for a lot of people, so I hoped you could help.

Here's what I get when I try to say heroku keys:add:

charlotte-dator:showwwdown holgersindbaek$ heroku keys:add
Enter your Heroku credentials.
Email: [email protected] 
Password: 
/Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:207:in `initialize': Permission denied - /Users/holgersindbaek/.heroku/credentials (Errno::EACCES)
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:207:in `open'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:207:in `write_credentials'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:130:in `ask_for_and_save_credentials'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/auth.rb:71:in `get_credentials'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/command/keys.rb:40:in `add'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/command.rb:114:in `send'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/lib/heroku/command.rb:114:in `run'
    from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/bin/heroku:14
    from /usr/bin/heroku:19:in `load'
    from /usr/bin/heroku:19

Really hope someone can point me in the right direction. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

阳光下慵懒的猫 2024-12-17 17:54:20

是的,在 Heroku 网站上它说要安装:

$gem install taps

Yes, in Heroku website it says to install:

$gem install taps
甜嗑 2024-12-17 17:54:20

尝试:

sudo mkdir /Users/holgersindbaek/.heroku
sudo chown -R holgersindbaek /Users/holgersindbaek/.heroku

Try:

sudo mkdir /Users/holgersindbaek/.heroku
sudo chown -R holgersindbaek /Users/holgersindbaek/.heroku
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文