title: zsh: command not found: bundle (after gem install bundle)
body: <p>Why <code>zsh: command not found: bundle</code> after <code>gem install bundler</code>? </p>
  
  <p>I tried setting <code>path=( /usr/local/lib/ruby/gems/2.2/gems/ ~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin )</code> in <code>/etc/zshrc</code> and <code>source /etc/zshrc</code> to no avail.</p>
  
  <pre><code>root@dev:/home/dev# gem install bundler
  Successfully installed bundler-1.7.12
  Parsing documentation for bundler-1.7.12
  Done installing documentation for bundler after 10 seconds
  1 gem installed
  
  root@dev:/home/dev# bundle
  zsh: command not found: bundle
  
  root@dev:/home/dev# uname -a
  OpenBSD dev.my.domain 5.7 GENERIC#748 amd64
  
  root@dev:/home/dev# gem environment
  RubyGems Environment:
    - RUBYGEMS VERSION: 2.4.5
    - RUBY VERSION: 2.2.0 (2014-12-25 patchlevel 0) [x86_64-openbsd]
    - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/2.2
    - RUBY EXECUTABLE: /usr/local/bin/ruby22
    - EXECUTABLE DIRECTORY: /usr/local/bin
    - SPEC CACHE DIRECTORY: /root/.gem/specs
    - SYSTEM CONFIGURATION DIRECTORY: /etc
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-openbsd
    - GEM PATHS:
       - /usr/local/lib/ruby/gems/2.2
       - /usr/local/lib/ruby/gems/2.2/gems/
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - https://rubygems.org/
    - SHELL PATH:
       - /usr/local/lib/ruby/gems/2.2/gems/
       - /root/bin
       - /bin
       - /sbin
       - /usr/bin
       - /usr/sbin
       - /usr/local/bin
       - /usr/local/sbin
  </code></pre>