Skip to content

Instantly share code, notes, and snippets.

@ThatLurker
Last active December 16, 2017 02:37
Show Gist options
  • Save ThatLurker/a22871a1e53d3c11ab76797a4fddd885 to your computer and use it in GitHub Desktop.
Save ThatLurker/a22871a1e53d3c11ab76797a4fddd885 to your computer and use it in GitHub Desktop.
Update ruby to latest with rbenv
#!/bin/bash
rbenv install (rbenv install -l | grep -v - | tail -1 | awk '{$1=$1};1')
rbenv global (rbenv install -l | grep -v - | tail -1 | awk '{$1=$1};1')
rbenv local (rbenv install -l | grep -v - | tail -1 | awk '{$1=$1};1')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment