- description: This requires the name of an installed gem to be provided (`json` is usually installed).
code: gem open -e "/bin/sh -c /bin/sh" json
- description: This invokes the default editor, which is likely to be [`vi`](/gtfobins/vi/), other functions may apply. This requires the name of an installed gem to be provided (`json` is usually installed).
code: |
gem open json
:!/bin/sh
- description: This executes the specified file as [`ruby`](/gtfobins/ruby/) code.