title: Error on starting application Bundler::GemNotFound
body: <p>I have just started a new app but am getting this error when I click the 'about your application's environment' link on the Welcome aboard page.</p>
  
  <blockquote>
    <p>Error starting application Your Rack app raised an exception when Pow
    tried to run it.</p>
    
    <p>Bundler::GemNotFound: Could not find activesupport-3.2.6 in any of the
    sources</p>
  </blockquote>
  
  <p>My app is running:</p>
  
  <ul>
  <li>Rails 3.2.6 </li>
  <li>Ruby 1.9.3p194</li>
  <li>Rubygems 1.8.24</li>
  <li>RVM 1.14.5</li>
  <li>POW 0.4.0</li>
  </ul>
  
  <p>I found similar questions where the problem was to do wit husing passenger, but I'm not using that.</p>
  
  <p>When I run gem list I get:</p>
  
  <blockquote>
    <p><strong>* LOCAL GEMS *</strong></p>
    
    <p>actionmailer (3.2.6) actionpack (3.2.6) activemodel (3.2.6)
    activerecord (3.2.6) activeresource (3.2.6) activesupport (3.2.6) arel
    (3.0.2) builder (3.0.0) bundler (1.1.4) coffee-rails (3.2.2)
    coffee-script (2.2.0) coffee-script-source (1.3.3) daemon_controller
    (1.0.0) erubis (2.7.0) execjs (1.4.0) fastthread (1.0.7) hike (1.2.1)
    i18n (0.6.0) journey (1.0.4) jquery-rails (2.0.2) json (1.7.3) mail
    (2.4.4) mime-types (1.19) multi_json (1.3.6) passenger (3.0.13)
    polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-ssl (1.3.2)
    rack-test (0.6.1) rails (3.2.6) railties (3.2.6) rake (0.9.2.2) rdoc
    (3.12) rubygems-bundler (1.0.3) rvm (1.11.3.4) sass (3.1.20)
    sass-rails (3.2.5) sprockets (2.4.3, 2.1.3) sqlite3 (1.3.6) thor
    (0.15.4, 0.15.3) tilt (1.3.3) treetop (1.4.10) tzinfo (0.3.33)
    uglifier (1.2.6)</p>
  </blockquote>
  
  <p>Any help would be much appreciated, thanks.</p>
  
  <p><b>update</b></p>
  
  <pre><code>source 'https://rubygems.org'
  
  gem 'rails', '3.2.6'
  
  # Bundle edge Rails instead:
  # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git'
  
  gem 'sqlite3'
  
  
  # Gems used only for assets and not required
  # in production environments by default.
  group :assets do
    gem 'sass-rails',   '~&gt; 3.2.3'
    gem 'coffee-rails', '~&gt; 3.2.1'
  
    # See https://github.com/sstephenson/execjs#readme for more supported runtimes
    # gem 'therubyracer', :platforms =&gt; :ruby
  
    gem 'uglifier', '&gt;= 1.0.3'
  end
  
  gem 'jquery-rails'
  
  # To use ActiveModel has_secure_password
  # gem 'bcrypt-ruby', '~&gt; 3.0.0'
  
  # To use Jbuilder templates for JSON
  # gem 'jbuilder'
  
  # Use unicorn as the app server
  # gem 'unicorn'
  
  # Deploy with Capistrano
  # gem 'capistrano'
  
  # To use debugger
  # gem 'debugger'
  </code></pre>
  
  <p><b>gemfile.lock</b></p>
  
  <pre><code>GEM
    remote: https://rubygems.org/
    specs:
      actionmailer (3.2.6)
        actionpack (= 3.2.6)
        mail (~&gt; 2.4.4)
      actionpack (3.2.6)
        activemodel (= 3.2.6)
        activesupport (= 3.2.6)
        builder (~&gt; 3.0.0)
        erubis (~&gt; 2.7.0)
        journey (~&gt; 1.0.1)
        rack (~&gt; 1.4.0)
        rack-cache (~&gt; 1.2)
        rack-test (~&gt; 0.6.1)
        sprockets (~&gt; 2.1.3)
      activemodel (3.2.6)
        activesupport (= 3.2.6)
        builder (~&gt; 3.0.0)
      activerecord (3.2.6)
        activemodel (= 3.2.6)
        activesupport (= 3.2.6)
        arel (~&gt; 3.0.2)
        tzinfo (~&gt; 0.3.29)
      activeresource (3.2.6)
        activemodel (= 3.2.6)
        activesupport (= 3.2.6)
      activesupport (3.2.6)
        i18n (~&gt; 0.6)
        multi_json (~&gt; 1.0)
      arel (3.0.2)
      builder (3.0.0)
      coffee-rails (3.2.2)
        coffee-script (&gt;= 2.2.0)
        railties (~&gt; 3.2.0)
      coffee-script (2.2.0)
        coffee-script-source
        execjs
      coffee-script-source (1.3.3)
      erubis (2.7.0)
      execjs (1.4.0)
        multi_json (~&gt; 1.0)
      hike (1.2.1)
      i18n (0.6.0)
      journey (1.0.4)
      jquery-rails (2.0.2)
        railties (&gt;= 3.2.0, &lt; 5.0)
        thor (~&gt; 0.14)
      json (1.7.3)
      mail (2.4.4)
        i18n (&gt;= 0.4.0)
        mime-types (~&gt; 1.16)
        treetop (~&gt; 1.4.8)
      mime-types (1.19)
      multi_json (1.3.6)
      polyglot (0.3.3)
      rack (1.4.1)
      rack-cache (1.2)
        rack (&gt;= 0.4)
      rack-ssl (1.3.2)
        rack
      rack-test (0.6.1)
        rack (&gt;= 1.0)
      rails (3.2.6)
        actionmailer (= 3.2.6)
        actionpack (= 3.2.6)
        activerecord (= 3.2.6)
        activeresource (= 3.2.6)
        activesupport (= 3.2.6)
        bundler (~&gt; 1.0)
        railties (= 3.2.6)
      railties (3.2.6)
        actionpack (= 3.2.6)
        activesupport (= 3.2.6)
        rack-ssl (~&gt; 1.3.2)
        rake (&gt;= 0.8.7)
        rdoc (~&gt; 3.4)
        thor (&gt;= 0.14.6, &lt; 2.0)
      rake (0.9.2.2)
      rdoc (3.12)
        json (~&gt; 1.4)
      sass (3.1.20)
      sass-rails (3.2.5)
        railties (~&gt; 3.2.0)
        sass (&gt;= 3.1.10)
        tilt (~&gt; 1.3)
      sprockets (2.1.3)
        hike (~&gt; 1.2)
        rack (~&gt; 1.0)
        tilt (~&gt; 1.1, != 1.3.0)
      sqlite3 (1.3.6)
      thor (0.15.4)
      tilt (1.3.3)
      treetop (1.4.10)
        polyglot
        polyglot (&gt;= 0.3.1)
      tzinfo (0.3.33)
      uglifier (1.2.6)
        execjs (&gt;= 0.3.0)
        multi_json (~&gt; 1.3)
  
  PLATFORMS
    ruby
  
  DEPENDENCIES
    coffee-rails (~&gt; 3.2.1)
    jquery-rails
    rails (= 3.2.6)
    sass-rails (~&gt; 3.2.3)
    sqlite3
    uglifier (&gt;= 1.0.3)
  </code></pre>
  
  <p>I have run bundle install which completed fine. However, if I run sudo bundle install I get:</p>
  
  <pre><code>/Users/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (&gt;= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError)
      from /Users/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
      from /Users/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
      from /Users/dave/.rvm/gems/ruby-1.9.3-p194@global/bin/bundle:18:in `&lt;main&gt;'
      from /Users/dave/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
      from /Users/dave/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `&lt;main&gt;'
  </code></pre>