title: How to solve "Could not find i18n-0.6.5 in any of the sources (Bundler::GemNotFound)" AWS deploy
body: <p>I am trying to deploy my application using AWS Elastic Beanstalk, but i get this error:</p>
  
  <pre><code>It looks like Bundler could not find a gem. This is probably because your
  application is being run under a different environment than it's supposed to.
  Please check the following:
  
  * Is this app supposed to be run as the `webapp` user?
  * Is this app being run on the correct Ruby interpreter? Below you will
  see which Ruby interpreter Phusion Passenger attempted to use. If you 
  are using RVM, please also check whether the correct gemset is being used.
   -------- The exception is as follows: -------
  Could not find i18n-0.6.5 in any of the sources (Bundler::GemNotFound)
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `map!'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `materialize'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in `specs_for'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in `requested_specs'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in `requested_specs'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in `setup'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup'
  /usr/share/ruby/1.9/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in `&lt;top (required)&gt;'
  /usr/share/rubygems1.9/rubygems/custom_require.rb:60:in `require'
  /usr/share/rubygems1.9/rubygems/custom_require.rb:60:in `rescue in require'
  /usr/share/rubygems1.9/rubygems/custom_require.rb:35:in `require'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/lib/phusion_passenger/loader_shared_helpers.rb:219:in `block in run_load_path_setup_code'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/lib/phusion_passenger/loader_shared_helpers.rb:333:in `running_bundler'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/lib/phusion_passenger/loader_shared_helpers.rb:217:in `run_load_path_setup_code'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/helper-scripts/rack-preloader.rb:96:in `preload_app'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/helper-scripts/rack-preloader.rb:150:in `&lt;module:App&gt;'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/helper-scripts/rack-preloader.rb:29:in `&lt;module:PhusionPassenger&gt;'
  /usr/share/ruby/1.9/gems/1.9.1/gems/passenger-4.0.20/helper-scripts/rack-preloader.rb:28:in `&lt;main&gt;'
  </code></pre>
  
  <p>I've tried <code>bundle install --path vendor/cache</code>, <code>bundle package</code> and committed <code>Gemfile</code> and <code>Gemfile.lock</code>.</p>
  
  <p>Any help would be appreciated.</p>