Skip to content

Instantly share code, notes, and snippets.

@chrisbelyea
Created March 25, 2012 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbelyea/2200445 to your computer and use it in GitHub Desktop.
Save chrisbelyea/2200445 to your computer and use it in GitHub Desktop.
Output of 'type gem'
gem is a function
gem ()
{
typeset result;
( typeset rvmrc;
for rvmrc in /etc/rvmrc "${HOME:-}/.rvmrc";
do
[[ -s "${rvmrc}" ]] && source "${rvmrc}" || true;
done;
command gem "$@" ) || result=$?;
hash -r;
return ${result:-0}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment