jozwright jozwright - 1 year ago 100
Ruby Question

Segmentation fault when running 'bundle exec rake'

After running:

$ bundle exec rake

I receive this error:

1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64darwin14.0]

Along with this:

:in `<main>'
:in `load'
10.4.2/bin/rake:33:in `<top (required)>'

I've tried
$ gem pristine --all
. Any thoughts?

Answer Source

I had the same error too. Googled around and found these two posts

The first post's solution fixed it for me, so for you it would be:

rvm get stable
rvm reinstall ruby-2.1.5
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download