Skip to content

Instantly share code, notes, and snippets.

@spk
Created February 3, 2016 15:47
Show Gist options
  • Save spk/fdf74c5d672209e75934 to your computer and use it in GitHub Desktop.
Save spk/fdf74c5d672209e75934 to your computer and use it in GitHub Desktop.
Quick Ruby alternative on Debian
RV=2.2; dpkg -L ruby$RV | grep 'bin/' | grep -v grep | awk '{print "ln -fs "$1" "$1}' | sed s/$RV//2 | sed 's/\/usr/$HOME/2' | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment