title: RAILS 5: Bundler could not find compatible versions for gem “actionpack”:
body: <p>Could anyone please help me for upgrading the rails 4.2 to rails 5.1.4
  after run the bundle update got the compatible versions error</p>
  
  <p>Bundler could not find compatible versions for gem "actionpack":
    In Gemfile:
      active_link_to (~> 1.0.0) was resolved to 1.0.5, which depends on
        actionpack</p>
  
  <pre><code>active_model_serializers (~&gt; 0.10.6) was resolved to 0.10.7, which depends on
    actionpack (&lt; 6, &gt;= 4.1)
  
  hamlit-rails (~&gt; 0.2.0) was resolved to 0.2.0, which depends on
    actionpack (&gt;= 4.0.1)
  
  meta-tags (~&gt; 2.4.1) was resolved to 2.4.1, which depends on
    actionpack (&lt; 5.2, &gt;= 3.2.0)
  
  rails (~&gt; 5.1.4) was resolved to 5.1.4, which depends on
    actionpack (= 5.1.4)
  
  ransack (~&gt; 1.6.6) was resolved to 1.6.6, which depends on
    actionpack (&gt;= 3.0)
  
  rspec-rails (~&gt; 3.4.2) was resolved to 3.4.2, which depends on
    actionpack (&lt; 4.3, &gt;= 3.0)
  
  simple_form (~&gt; 3.5.1) was resolved to 3.5.1, which depends on
    actionpack (&lt; 5.2, &gt; 4)
  
  stream_rails (&gt;= 2.5.2, ~&gt; 2.5) was resolved to 2.6.1, which depends on
    actionpack (&gt;= 3.0.0)
  
  twitter-typeahead-rails (~&gt; 0.10.5) was resolved to 0.10.5, which depends on
    actionpack (&gt;= 3.1)
  </code></pre>