当我尝试用heroku做任何事情时,我已经得到了这个非常讨厌的应用程序......添加密钥,代替等等。我看了很多其他帖子,但它似乎不是问题对很多人来说,所以我希望你能提供帮助。
这是我试图说heroku keys:add
时得到的结果:
charlotte-dator:showwwdown holgersindbaek$ heroku keys:add
Enter your Heroku credentials.
Email: holgersindbaek@gmail.com
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
真的希望有人能指出我正确的方向。感谢。
答案 0 :(得分:1)
是的,在Heroku网站上说要安装:
$gem install taps
答案 1 :(得分:0)
尝试:
sudo mkdir /Users/holgersindbaek/.heroku
sudo chown -R holgersindbaek /Users/holgersindbaek/.heroku