I have just installed heroku and then I want to verify my installation, so I run
heroku --version
but I got a lot of error message
/usr/local/heroku/vendor/gems/json-1.8.2/lib/json/common.rb:67: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
I have searched for the answers on stack overflow, one said , I have tried
bundle exec heroku restart
but it did not work for me, since I still got the error.
I also tried this method , that is, I run
rvm pkg install openssl
rvm reinstall 1.9.3 --with-openssl-dir=$rvm_path/usr
but it did worked either.
My system is Mac OSX Sierra. Could anyone help me? Thank you very much!