3

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.

John
  • 13,125
  • 14
  • 52
  • 73
  • 1
    I am seeing the same issue. Did you ever get this resolved? – Jason Malcolm May 19 '14 at 20:42
  • @JasonMalcolm Does my answer below work for you? – trliner May 19 '14 at 23:29
  • @JasonMalcolm I have forgotten what I did about this problem, though I got around it somehow. I use rvm and may have just switched rubies but don't remember. – John May 20 '14 at 00:57
  • I finally got it figured out for. Heroku pushed a version of the Toolbelt that broke some people's config. There is a better description of the break/fix here: https://github.com/heroku/heroku/issues/932. – Jason Malcolm May 21 '14 at 16:47

1 Answers1

2

I was able to get around this by running bundle exec heroku restart, but YMMV.

trliner
  • 459
  • 3
  • 11