title: "zsh: command not found:" when running Ruby commands
body: <p>I still have core commands like ls or pwd working but certain commands relating to Ruby aren't recognised. Not sure if this would apply to other languages but I don't seem to be having any issues with npm or anything like that.</p>
  <p>If it helps I'm also using
  MacOS Catalina
  Version 10.15.7</p>
  <pre><code>run `bundle update --bundler`
  zsh: command not found: run
  </code></pre>
  <p>I don't know how to reset zsh or how to fix this. Here is the content of $PATH variable:</p>
  <pre><code>/bin:/usr/bin:/usr/local/bin:/Users/peter/bin:/usr/local/bin:/Users/peter/bin:/usr/local/bin:/Users/peter/.rvm/gems/ruby-2.7.0/bin:/Users/peter/.rvm/gems/ruby-2.7.0@global/bin:/Users/peter/.rvm/rubies/ruby-2.7.0/bin:/Users/peter/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/peter/.rvm/bin:/Users/peter/.rvm/bin:/Users/peter/.rvm/bin
  </code></pre>
  <p>When I run in my terminal 'vim ~/.zshrc' it returns the following</p>
  <pre><code># If you come from bash you might have to change your $PATH.
  export PATH=$HOME/bin:/usr/local/bin:$PATH
  
  # Path to your oh-my-zsh installation.
  export ZSH=&quot;/Users/peter/.oh-my-zsh&quot;
  
  # Set name of the theme to load --- if set to &quot;random&quot;, it will
  # load a random theme each time oh-my-zsh is loaded, in which case,
  # to know which specific one was loaded, run: echo $RANDOM_THEME
  # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
  ZSH_THEME=&quot;robbyrussell&quot;
  
  # Set list of themes to pick from when loading at random
  # Setting this variable when ZSH_THEME=random will cause zsh to load
  # a theme from this variable instead of looking in $ZSH/themes/
  # If set to an empty array, this variable will have no effect.
  # ZSH_THEME_RANDOM_CANDIDATES=( &quot;robbyrussell&quot; &quot;agnoster&quot; )
  
  # Uncomment the following line to use case-sensitive completion.
  # CASE_SENSITIVE=&quot;true&quot;
  
  # Uncomment the following line to use hyphen-insensitive completion.
  # Case-sensitive completion must be off. _ and - will be interchangeable.
  # HYPHEN_INSENSITIVE=&quot;true&quot;
  
  # Uncomment the following line to disable bi-weekly auto-update checks.
  # DISABLE_AUTO_UPDATE=&quot;true&quot;
  
  # Uncomment the following line to automatically update without prompting.
  # DISABLE_UPDATE_PROMPT=&quot;true&quot;
  
  # Uncomment the following line to change how often to auto-update (in days).
  # export UPDATE_ZSH_DAYS=13
  
  # Uncomment the following line if pasting URLs and other text is messed up.
  # DISABLE_MAGIC_FUNCTIONS=&quot;true&quot;
  
  # Uncomment the following line to disable colors in ls.
  # DISABLE_LS_COLORS=&quot;true&quot;
  
  # Uncomment the following line to disable auto-setting terminal title.
  # DISABLE_AUTO_TITLE=&quot;true&quot;
  
  # Uncomment the following line to enable command auto-correction.
  # ENABLE_CORRECTION=&quot;true&quot;
  
  # Uncomment the following line to display red dots whilst waiting for completion.
  # COMPLETION_WAITING_DOTS=&quot;true&quot;
  
  # Uncomment the following line if you want to disable marking untracked files
  # under VCS as dirty. This makes repository status check for large repositories
  # much, much faster.
  # DISABLE_UNTRACKED_FILES_DIRTY=&quot;true&quot;
  
  # Uncomment the following line if you want to change the command execution time
  # stamp shown in the history command output.
  # You can set one of the optional three formats:
  # &quot;mm/dd/yyyy&quot;|&quot;dd.mm.yyyy&quot;|&quot;yyyy-mm-dd&quot;
  # or set a custom format using the strftime function format specifications,
  # see 'man strftime' for details.
  # HIST_STAMPS=&quot;mm/dd/yyyy&quot;
  
  # Would you like to use another custom folder than $ZSH/custom?
  # ZSH_CUSTOM=/path/to/new-custom-folder
  
  # Which plugins would you like to load?
  # ZSH_CUSTOM=/path/to/new-custom-folder
  
  # Which plugins would you like to load?
  # Standard plugins can be found in $ZSH/plugins/
  # Custom plugins may be added to $ZSH_CUSTOM/plugins/
  # Example format: plugins=(rails git textmate ruby lighthouse)
  # Add wisely, as too many plugins slow down shell startup.
  plugins=(git)
  
  source $ZSH/oh-my-zsh.sh
  
  # User configuration
  
  # export MANPATH=&quot;/usr/local/man:$MANPATH&quot;
  
  # You may need to manually set your language environment
  # export LANG=en_US.UTF-8
  
  # Preferred editor for local and remote sessions
  # if [[ -n $SSH_CONNECTION ]]; then
  #   export EDITOR='vim'
  # else
  #   export EDITOR='mvim'
  # fi
  
  # Compilation flags
  # export ARCHFLAGS=&quot;-arch x86_64&quot;
  
  # Set personal aliases, overriding those provided by oh-my-zsh libs,
  # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  # For a full list of active aliases, run `alias`.
  #
  # Example aliases
  # alias zshconfig=&quot;mate ~/.zshrc&quot;
  # alias ohmyzsh=&quot;mate ~/.oh-my-zsh&quot;
  # alias brewup=‘brew update; brew upgrade; brew cleanup; brew doctor’
  
  # Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
  export PATH=&quot;$PATH:$HOME/.rvm/bin&quot;
  export PATH
  </code></pre>
  <p>Any idea what the issue is or how to fix this? If you need me to provide any more information please let me know. I've never experienced this issue before so no idea how to fix it.</p>