Skip to content

Instantly share code, notes, and snippets.

@unixc3t
Forked from rubyisbeautiful/force-remove-json-183.sh
Created November 30, 2018 03:37
Show Gist options
  • Save unixc3t/29258c4d4d9f29ec99760273ea8ad445 to your computer and use it in GitHub Desktop.
Save unixc3t/29258c4d4d9f29ec99760273ea8ad445 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