Skip to content

Instantly share code, notes, and snippets.

@jcanfield
Created January 2, 2013 20:46
Show Gist options
  • Save jcanfield/4437845 to your computer and use it in GitHub Desktop.
Save jcanfield/4437845 to your computer and use it in GitHub Desktop.
Error while running Ruby Gem `smusher`. "gems/json-1.7.5/lib/json/ext/parser.bundle: [BUG] Segmentation fault"
# $ smusher
# /Users/username/.rvm/gems/ruby-1.9.3-p327/gems/json-1.7.5/lib/json/ext/parser.bundle: [BUG] Segmentation fault
# ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
#
# Abort trap: 6
# This fix will remove all Ruby gems and reinstall bundler
read -p "Will now uninstall all Ruby gems..."
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
gem install bundler
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment