Sample Header Ad - 728x90

Clarification: Command which gem not showing the gem path correctly in m1 machine

-2 votes
2 answers
123 views
I am getting below snippet while running the **which gem** in my m1 mac machine gem () { \typeset result ( \typeset rvmrc rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc") if [[ -n "${rvm_prefix:-}" ]] && ! [[ "$HOME/.rvmrc" -ef "${rvm_prefix}/.rvmrc" ]] then rvm_rvmrc_files+=("${rvm_prefix}/.rvmrc") fi for rvmrc in "${rvm_rvmrc_files[@]}" do [[ -s "${rvmrc}" ]] && source "${rvmrc}" || true done unset rvm_rvmrc_files command gem "$@" ) || result=$? hash -r return ${result:-0} }
Asked by sejn (80 rep)
Nov 3, 2021, 01:08 PM
Last activity: Jan 28, 2022, 07:37 PM