Skip to content

Instantly share code, notes, and snippets.

@rubyisbeautiful
Created February 5, 2016 19:17
Show Gist options
  • Save rubyisbeautiful/2f7196035497476ba1ae to your computer and use it in GitHub Desktop.
Save rubyisbeautiful/2f7196035497476ba1ae to your computer and use it in GitHub Desktop.
Force removal of (default) gem son 1.8.3
#!/bin/bash
mv /apps/opt/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/specifications/default/json-1.8.3.gemspec /apps/opt/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/specifications
gem uninstall json -v '1.8.3'
echo "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment