Skip to content

Instantly share code, notes, and snippets.

@ahx
Created July 10, 2009 12:36
Show Gist options
  • Save ahx/144483 to your computer and use it in GitHub Desktop.
Save ahx/144483 to your computer and use it in GitHub Desktop.
# my stupid way to switch between ruby versions for one terminal session
# (ruby 1.9 is in /usr/local/bin. 1.8 is in /usr/bin)
export ORIGPATH=$PATH
alias r19='export PATH=$ORIGPATH' # currently ruby 1.9 is the default on this installation
alias r18='export PATH=/usr/bin:$ORIGPATH'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment