To Remove Issue of

WARNING: Unable to verify SSL certificate for api.heroku.com
To disable SSL verification, run with HEROKU_SSL_VERIFY=disable

By Googling I got few solution. One of them is added HEROKU_SSL_VERIFY=disable to .bashrc. Unfortunately, I am not able to edit that file, gives an error of

'readonly' option is set (add ! to override)

!wq is used in place of :wq, but no response.

Please suggest me to resolve this issue... Thanks

link|improve this question
chmod 666 ~/.bashrc might help – C-Ram Jun 22 '11 at 6:19
2  
I think it's :wq!, not !wq... – smcphill Jun 22 '11 at 6:19
feedback

migrated from stackoverflow.com Jun 22 '11 at 6:25

This question came from our site for professional and enthusiast programmers.

2 Answers

This is a vim issue, not a file permission issue. If you did not have read permission on the file, you'd see a "Permission denied" error.

Do you invoke vi/vim with the -R option? Are you calling view instead of vi or vim? Do you have set readonly in your .vimrc or in a file in ~/.vim/ftplugin?

In vim you can enter :set noreadonly to unset the readonly flag.

link|improve this answer
feedback

It seems that you don't have the write permissions for the .bashrc file. That sounds weird because the file .bashrc under your home directory should be owned by you. Try this command before you edit the file:

chmod +w ~/.bash
link|improve this answer
Not a file permission problem: the error message is from vi/vim – glenn jackman Jun 22 '11 at 10:25
feedback

Your Answer

 
or
required, but never shown