After doing a bundle install, I run ‘rails s’ it runs into this error.
$ rails s
/Users/XXXX/.rvm/gems/ruby-1.8.7-p352@r3/gems/json-1.5.3/ext/json/ext/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin10.8.0]
Abort trap
Any help would be greatly appreciated
rvm gemset emptyrvm use ree@my-gemsetgem install bundlerbundle installThis solved the issue for me. Must be some extension got compiled against the wrong version of Ruby (in my case). Hope it works for you!
If you are not using RVM, I found this command to uninstall all gems:
gem list | cut -d" " -f1 | xargs gem uninstall -aIx‘gem install bundlerbundle install