Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SunDi3yansyah/c3ff6453b970f1a7469fd86a635ded11 to your computer and use it in GitHub Desktop.
Save SunDi3yansyah/c3ff6453b970f1a7469fd86a635ded11 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