title: Prepending `bundle exec` to your command may solve this rails
body: <p>I am having an issue while deploying my site to <code>AWS</code>.</p>
  
  <pre><code>Gem::LoadError: You have already activated rake 10.4.2, but your Gemfile requires rake 10.5.0. Prepending `bundle exec` to your command may solve this.
    /var/app/ondeck/config/boot.rb:3:in `&lt;top (required)&gt;'
    /var/app/ondeck/config/application.rb:1:in `&lt;top (required)&gt;'
    /var/app/ondeck/Rakefile:4:in `&lt;top (required)&gt;'
    LoadError: cannot load such file -- bundler/setup
    /var/app/ondeck/config/boot.rb:3:in `&lt;top (required)&gt;'
    /var/app/ondeck/config/application.rb:1:in `&lt;top (required)&gt;'
    /var/app/ondeck/Rakefile:4:in `&lt;top (required)&gt;'
    (See full trace by running task with --trace)
     (ElasticBeanstalk::ExternalInvocationError)
  </code></pre>
  
  <p>while when I do <code>gem list rake</code> it gives me </p>
  
  <pre><code>*** LOCAL GEMS ***
  
  airbrake (4.3.1)
  rake (10.5.0, 10.4.2)
  </code></pre>
  
  <p>I want to have just one version when I do <code>bundle exec gem uninstall rake -v 10.4.2</code> it gives me </p>
  
  <pre><code>ERROR:  While executing gem ... (Gem::InstallError)
      gem "rake" cannot be uninstalled because it is a default gem
  </code></pre>
  
  <p>How to resolve this issue? any help will be appreciated.</p>