title: Could not find 'berkshelf' (>= 0) among 90 total gem(s) (Gem::LoadError)
body: <p>I am having issues when setting up Chef and Vagrant for my rails app. When I try:</p>
  
  <pre><code>$ vagrant up
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>Bringing machine 'default' up with 'virtualbox' provider...
  The following berks command failed to execute:
  
      /Users/user/.chefdk/gem/ruby/2.1.0/bin/berks --version --format json
  
  The stdout and stderr are shown below:
  
  stdout: 
  stderr: /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:313:in `to_specs':                        
      Could not find 'berkshelf' (&gt;= 0) among 90 total gem(s) (Gem::LoadError)
      Checked in 'GEM_PATH=/Users/user/.vagrant.d/gems:/Applications/Vagrant/bin/../embedded/gems', execute `gem env` for more information
      from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:322:in `to_spec'
      from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:58:in`gem'
      from /Users/user/.chefdk/gem/ruby/2.1.0/bin/berks:22:in `&lt;main&gt;'
  </code></pre>
  
  <p>Then when I run <code>gem env</code>, I get:</p>
  
  <pre><code>RubyGems Environment:
  - RUBYGEMS VERSION: 2.2.0
  - RUBY VERSION: 2.1.0 (2013-12-25 patchlevel 0) [x86_64-darwin14.0]
  - INSTALLATION DIRECTORY: /Users/user/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0
  - RUBY EXECUTABLE: /Users/user/.rbenv/versions/2.1.0/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/user/.rbenv/versions/2.1.0/bin
  - SPEC CACHE DIRECTORY: /Users/user/.gem/specs
  - RUBYGEMS PLATFORMS:
  - ruby
  - x86_64-darwin-14
  - GEM PATHS:
    - /Users/user/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0
    - /Users/user/.gem/ruby/2.1.0
  - GEM CONFIGURATION:
    - :update_sources =&gt; true
    - :verbose =&gt; true
    - :backtrace =&gt; false
    - :bulk_threshold =&gt; 1000
    - "gem" =&gt; "--no-document"
  - REMOTE SOURCES:
    - https://rubygems.org/
  - SHELL PATH:
    - /Users/user/.rbenv/versions/2.1.0/bin
    - /usr/local/Cellar/rbenv/0.4.0/libexec
    - /Users/user/.chefdk/gem/ruby/2.1.0/bin
    - /opt/chefdk/bin
    - /Users/user/.rbenv/shims
    - /Users/user/.chefdk/gem/ruby/2.1.0/bin
    - /opt/chefdk/bin
    - /opt/chef/embedded/bin
    - /usr/local/bin
    - /Library/Frameworks/Python.framework/Versions/3.4/bin
    - /Users/user/.rbenv/shims
    - /Users/user/.chefdk/gem/ruby/2.1.0/bin
    - /opt/chefdk/bin
    - /opt/chef/embedded/bin
    - /usr/local/bin
    - /Library/Frameworks/Python.framework/Versions/3.4/bin
    - /Users/user/.chefdk/gem/ruby/2.1.0/bin
    - /opt/chefdk/bin
    - /Users/user/.rbenv/shims
    - /opt/chef/embedded/bin
    - /usr/local/bin
    - /Library/Frameworks/Python.framework/Versions/3.4/bin
    - /Users/user/.rbenv/shims
    - /Users/user/.rbenv/bin
    - .git/safe/../../bin
    - /Users/user/.rbenv/shims
    - /Users/user/.bin
    - /usr/local/sbin
    - /usr/local/bin
    - /usr/bin
    - /bin
    - /usr/sbin
    - /sbin
    - /opt/X11/bin
    - /Users/user/Documents/AppFiles/gsutil
    - /Applications/Postgres.app/Contents/Versions/9.3/bin
    - /Users/user/.rvm/bin
    - /usr/sbin
    - /Users/user/.rvm/bin
    - /Users/user/Documents/AppFiles/gsutil
    - /Applications/Postgres.app/Contents/Versions/9.3/bin
    - /Users/user/.rvm/bin
    - /usr/sbin
    - /Users/user/.rvm/bin
    - /Users/user/Documents/AppFiles/gsutil
    - /Applications/Postgres.app/Contents/Versions/9.3/bin
    - /Users/user/.rvm/bin
    - /usr/sbin
    - /Users/user/.rvm/bin
  </code></pre>
  
  <p>Berkshelf is installed, as well as, ChefDK. I also made sure to add:</p>
  
  <p><code>PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:$PATH</code> to my .bash_profile. </p>
  
  <p>Any help would be much appreciated!</p>