Created
March 16, 2012 16:28
-
-
Save mtheoryx/2050884 to your computer and use it in GitHub Desktop.
'type gem' output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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