title: Error: Could not find activemodel-3.2.13 in any of source
body: <p>I have a problem with launching of the ready project.
  When i launch the program with:</p>
  
  <blockquote>
    <p>rails s
    I get:
    Could not find activemodel-3.2.13 in any of sources</p>
    
    <p>Run 'bundle install' to install missing gems</p>
  </blockquote>
  
  <p>After running:</p>
  
  <blockquote>
    <p>bundle install</p>
  </blockquote>
  
  <p>I have:</p>
  
  <blockquote>
    <p>Installing mysql2 0.3.16 with native extensions</p>
    
    <p>Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.</p>
    
    <p>e:/Different/RoR/Ruby22/bin/ruby.exe extconf.rb</p>
    
    <p><strong>* extconf.rb failed *</strong></p>
    
    <p>Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers.  Check the mkmf.log file for more details.  You may
    need configuration options.</p>
    
    <p>Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.</p>
    
    <p>Gem files will remain installed in e:/Different/RoR/Ruby22/lib/ruby/gems/2.2.0/gems/debugger-1.6.8 for inspection.</p>
    
    <p>Results logged to e:/Different/RoR/Ruby22/lib/ruby/gems/2.2.0/gems/debugger-1.6.8/ext/ruby_debug/gem_make.out</p>
    
    <p>An error occurred while installing mysql2 (0.3.16), and Bundler cannot continue.</p>
    
    <p>Make sure that <code>gem install mysql2 -v '0.3.16'</code> succeeds before bundling.</p>
  </blockquote>
  
  <p>Thats not all log, just with errors.</p>
  
  <p>So next i run:</p>
  
  <blockquote>
    <p>gem install mysql2 -v '0.3.16'</p>
  </blockquote>
  
  <p>I get:</p>
  
  <blockquote>
    <p>ERROR: Error installing mysql2:</p>
    
    <p>ERROR: Failed to build gem native extension.</p>
    
    <p><strong>* extconf.rb failed *</strong></p>
    
    <p>Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers.  Check the mkmf.log file for more details.  You may
    need configuration options.</p>
    
    <p>Gem files will remain installed in E:/Different/RoR/Ruby22/lib/ruby/gems/2.2.0/gems/mysql2-0.3.16 for inspection.</p>
    
    <p>Results logged to E:/Different/RoR/Ruby22/lib/ruby/gems/2.2.0/gems/mysql2-0.3.16/ext/mysql2/gem_make.out</p>
  </blockquote>
  
  <p>So what should i do?
  Earlier I have one more error connected with  SSL connection error. So I couldnt load from <a href="http://rubygems.org/" rel="nofollow">http://rubygems.org/</a>. But it seems like its gone now.</p>
  
  <p>My GemFile:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  gem 'rails', '3.2.13'
  
  # Bundle edge Rails instead:
  # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git'
  gem 'rake', '10.2.1'
  # gem 'sqlite3'
  gem 'mysql2'
  gem 'haml-rails'
  gem 'annotate', '&gt;=2.6.0'
  gem 'bcrypt-ruby', '3.0.1'
  gem "date-input-rails"
  gem "nested_form"
  gem 'debugger'
  #gem "thin"
  
  # 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'
    gem 'bootstrap-sass', '3.0'
    gem 'bootstrap-datepicker-rails'
    # 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>My GemFile.lock:</p>
  
  <pre><code>GEM
    remote: https://rubygems.org/
    specs:
      actionmailer (3.2.13)
        actionpack (= 3.2.13)
        mail (~&gt; 2.5.3)
      actionpack (3.2.13)
        activemodel (= 3.2.13)
        activesupport (= 3.2.13)
        builder (~&gt; 3.0.0)
        erubis (~&gt; 2.7.0)
        journey (~&gt; 1.0.4)
        rack (~&gt; 1.4.5)
        rack-cache (~&gt; 1.2)
        rack-test (~&gt; 0.6.1)
        sprockets (~&gt; 2.2.1)
      activemodel (3.2.13)
        activesupport (= 3.2.13)
        builder (~&gt; 3.0.0)
      activerecord (3.2.13)
        activemodel (= 3.2.13)
        activesupport (= 3.2.13)
        arel (~&gt; 3.0.2)
        tzinfo (~&gt; 0.3.29)
      activeresource (3.2.13)
        activemodel (= 3.2.13)
        activesupport (= 3.2.13)
      activesupport (3.2.13)
        i18n (= 0.6.1)
        multi_json (~&gt; 1.0)
      annotate (2.6.1)
        activerecord (&gt;= 2.3.0)
        rake (&gt;= 0.8.7)
      arel (3.0.3)
      bcrypt-ruby (3.0.1)
      bootstrap-datepicker-rails (1.3.0.1)
        railties (&gt;= 3.0)
      bootstrap-sass (3.0.0.0)
        sass (~&gt; 3.2)
      builder (3.0.4)
      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.7.0)
      columnize (0.9.0)
      date-input-rails (0.0.3)
        jquery-ui-rails
        rails (~&gt; 3.2.8)
      debugger (1.6.8)
        columnize (&gt;= 0.3.1)
        debugger-linecache (~&gt; 1.2.0)
        debugger-ruby_core_source (~&gt; 1.3.5)
      debugger-linecache (1.2.0)
      debugger-ruby_core_source (1.3.7)
      erubis (2.7.0)
      execjs (2.0.2)
      haml (4.0.5)
        tilt
      haml-rails (0.4)
        actionpack (&gt;= 3.1, &lt; 4.1)
        activesupport (&gt;= 3.1, &lt; 4.1)
        haml (&gt;= 3.1, &lt; 4.1)
        railties (&gt;= 3.1, &lt; 4.1)
      hike (1.2.3)
      i18n (0.6.1)
      journey (1.0.4)
      jquery-rails (3.1.0)
        railties (&gt;= 3.0, &lt; 5.0)
        thor (&gt;= 0.14, &lt; 2.0)
      jquery-ui-rails (4.1.2)
        railties (&gt;= 3.1.0)
      json (1.8.1)
      mail (2.5.4)
        mime-types (~&gt; 1.16)
        treetop (~&gt; 1.4.8)
      mime-types (1.25.1)
      multi_json (1.8.4)
      mysql2 (0.3.16)
      nested_form (0.3.2)
      polyglot (0.3.3)
      rack (1.4.5)
      rack-cache (1.2)
        rack (&gt;= 0.4)
      rack-ssl (1.3.3)
        rack
      rack-test (0.6.2)
        rack (&gt;= 1.0)
      rails (3.2.13)
        actionmailer (= 3.2.13)
        actionpack (= 3.2.13)
        activerecord (= 3.2.13)
        activeresource (= 3.2.13)
        activesupport (= 3.2.13)
        bundler (~&gt; 1.0)
        railties (= 3.2.13)
      railties (3.2.13)
        actionpack (= 3.2.13)
        activesupport (= 3.2.13)
        rack-ssl (~&gt; 1.3.2)
        rake (&gt;= 0.8.7)
        rdoc (~&gt; 3.4)
        thor (&gt;= 0.14.6, &lt; 2.0)
      rake (10.2.1)
      rdoc (3.12.2)
        json (~&gt; 1.4)
      sass (3.2.14)
      sass-rails (3.2.6)
        railties (~&gt; 3.2.0)
        sass (&gt;= 3.1.10)
        tilt (~&gt; 1.3)
      sprockets (2.2.2)
        hike (~&gt; 1.2)
        multi_json (~&gt; 1.0)
        rack (~&gt; 1.0)
        tilt (~&gt; 1.1, != 1.3.0)
      thor (0.18.1)
      tilt (1.4.1)
      treetop (1.4.15)
        polyglot
        polyglot (&gt;= 0.3.1)
      tzinfo (0.3.38)
      uglifier (2.4.0)
        execjs (&gt;= 0.3.0)
        json (&gt;= 1.8.0)
  
  PLATFORMS
    ruby
  
  DEPENDENCIES
    annotate (&gt;= 2.6.0)
    bcrypt-ruby (= 3.0.1)
    bootstrap-datepicker-rails
    bootstrap-sass (= 3.0)
    coffee-rails (~&gt; 3.2.1)
    date-input-rails
    debugger
    haml-rails
    jquery-rails
    mysql2
    nested_form
    rails (= 3.2.13)
    rake (= 10.2.1)
    sass-rails (~&gt; 3.2.3)
    uglifier (&gt;= 1.0.3)
  </code></pre>