问题
Whenever I run a heroku command (heroku restart, heroku apps, etc., even just heroku) I get the following message:
/Users/jjjj/.rvm/gems/ruby-2.0.0-p247/gems/multi_json-1.9.0/lib/multi_json/adapters/oj.rb:20: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
Any ideas on how to solve this? I've tried uninstalling and reinstalling multi_json. I am hesitant to rm -rf the heroku directories and reinstall.
回答1:
I was able to get around this by running bundle exec heroku restart
, but YMMV.
来源:https://stackoverflow.com/questions/22418894/heroku-cli-segmentation-fault