Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku is trying to install sqlite3 gem even it not being in the Gemfile
    primarykey
    data
    text
    <p>I'm trying to deploy a Rails 3.1 application for the first time on Heroku. I set it to the Cedar stack, removed the sqlite3 gem but when I push the code to Heroku I get this error:</p> <blockquote> <p>-----> Installing dependencies using Bundler version 1.1.rc Running: bundle install --without development:test --path vendor/bundle --deployment Fetching gem metadata from <a href="http://rubygems.org/">http://rubygems.org/</a>....... (...)</p> <p>Installing rails (3.1.0) Installing sqlite3 (1.3.4) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at <a href="https://github.com/carlhuda/bundler/issues">https://github.com/carlhuda/bundler/issues</a> so that we can fix it. Thanks! /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /usr/local/bin/ruby extconf.rb checking for sqlite3.h... no</p> </blockquote> <p>I've no idea why bundle install is trying to install sqlite3. Take a look at my Gemfile and Gemfile.lock:</p> <p>Gemfile</p> <pre><code>source 'http://rubygems.org' gem 'rails', '3.1.0' gem 'json' gem 'pg' gem 'thin' # Gems used only for assets and not required # in production environments by default. group :assets do # gem 'sass-rails', " ~&gt; 3.1.0" # gem 'coffee-rails', "~&gt; 3.1.0" gem 'uglifier' end gem 'jquery-rails' </code></pre> <p>Gemfile.lock</p> <pre><code>GEM remote: http://rubygems.org/ specs: actionmailer (3.1.0) actionpack (= 3.1.0) mail (~&gt; 2.3.0) actionpack (3.1.0) activemodel (= 3.1.0) activesupport (= 3.1.0) builder (~&gt; 3.0.0) erubis (~&gt; 2.7.0) i18n (~&gt; 0.6) rack (~&gt; 1.3.2) rack-cache (~&gt; 1.0.3) rack-mount (~&gt; 0.8.2) rack-test (~&gt; 0.6.1) sprockets (~&gt; 2.0.0) activemodel (3.1.0) activesupport (= 3.1.0) bcrypt-ruby (~&gt; 3.0.0) builder (~&gt; 3.0.0) i18n (~&gt; 0.6) activerecord (3.1.0) activemodel (= 3.1.0) activesupport (= 3.1.0) arel (~&gt; 2.2.1) tzinfo (~&gt; 0.3.29) activeresource (3.1.0) activemodel (= 3.1.0) activesupport (= 3.1.0) activesupport (3.1.0) multi_json (~&gt; 1.0) arel (2.2.1) bcrypt-ruby (3.0.1) builder (3.0.0) daemons (1.1.4) erubis (2.7.0) eventmachine (0.12.10) execjs (1.2.9) multi_json (~&gt; 1.0) hike (1.2.1) i18n (0.6.0) jquery-rails (1.0.14) railties (~&gt; 3.0) thor (~&gt; 0.14) json (1.6.1) mail (2.3.0) i18n (&gt;= 0.4.0) mime-types (~&gt; 1.16) treetop (~&gt; 1.4.8) mime-types (1.16) multi_json (1.0.3) pg (0.11.0) polyglot (0.3.2) rack (1.3.3) rack-cache (1.0.3) rack (&gt;= 0.4) rack-mount (0.8.3) rack (&gt;= 1.0.0) rack-ssl (1.3.2) rack rack-test (0.6.1) rack (&gt;= 1.0) rails (3.1.0) actionmailer (= 3.1.0) actionpack (= 3.1.0) activerecord (= 3.1.0) activeresource (= 3.1.0) activesupport (= 3.1.0) bundler (~&gt; 1.0) railties (= 3.1.0) railties (3.1.0) actionpack (= 3.1.0) activesupport (= 3.1.0) rack-ssl (~&gt; 1.3.2) rake (&gt;= 0.8.7) rdoc (~&gt; 3.4) thor (~&gt; 0.14.6) rake (0.9.2) rdoc (3.9.4) sprockets (2.0.0) hike (~&gt; 1.2) rack (~&gt; 1.0) tilt (~&gt; 1.1, != 1.3.0) thin (1.2.11) daemons (&gt;= 1.0.9) eventmachine (&gt;= 0.12.6) rack (&gt;= 1.0.0) thor (0.14.6) tilt (1.3.3) treetop (1.4.10) polyglot polyglot (&gt;= 0.3.1) tzinfo (0.3.29) uglifier (1.0.3) execjs (&gt;= 0.3.0) multi_json (&gt;= 1.0.2) PLATFORMS ruby DEPENDENCIES jquery-rails json pg rails (= 3.1.0) thin uglifier </code></pre> <p>How can I fix it?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload