Skip to content

Instantly share code, notes, and snippets.

@djbender
Created May 21, 2014 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djbender/a92085b44db59d130427 to your computer and use it in GitHub Desktop.
Save djbender/a92085b44db59d130427 to your computer and use it in GitHub Desktop.
$ git push heroku master
Initializing repository, done.
Counting objects: 60, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (49/49), done.
Writing objects: 100% (60/60), 14.23 KiB | 0 bytes/s, done.
Total 60 (delta 2), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.5.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Installing multi_json (1.10.1)
Installing minitest (4.7.5)
Installing i18n (0.6.9)
Installing rake (10.3.2)
Installing thread_safe (0.3.3)
Installing builder (3.1.4)
Installing erubis (2.7.0)
Installing tzinfo (0.3.39)
Installing rack (1.5.2)
Installing mime-types (1.25.1)
Installing polyglot (0.3.4)
Installing activerecord-deprecated_finders (1.0.3)
Installing coffee-script-source (1.7.0)
Installing arel (4.0.2)
Installing execjs (2.0.2)
Using bundler (1.5.2)
Installing hike (1.2.3)
Installing thor (0.19.1)
Installing tilt (1.4.1)
Installing sass (3.2.19)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/ruby-2.0.0/bin/ruby extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal',
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/ruby-2.0.0/bin/ruby
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/
--enable-local
--disable-local
Gem files will remain installed in /tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.9 for inspection.
Results logged to /tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.9/ext/sqlite3/gem_make.out
Installing rack-test (0.6.2)
Installing activesupport (4.0.4)
Installing json (1.8.1)
An error occurred while installing sqlite3 (1.3.9), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.3.9'` succeeds before bundling.
Bundler Output: Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Installing multi_json (1.10.1)
Installing minitest (4.7.5)
Installing i18n (0.6.9)
Installing rake (10.3.2)
Installing thread_safe (0.3.3)
Installing builder (3.1.4)
Installing erubis (2.7.0)
Installing tzinfo (0.3.39)
Installing rack (1.5.2)
Installing mime-types (1.25.1)
Installing polyglot (0.3.4)
Installing activerecord-deprecated_finders (1.0.3)
Installing coffee-script-source (1.7.0)
Installing arel (4.0.2)
Installing execjs (2.0.2)
Using bundler (1.5.2)
Installing hike (1.2.3)
Installing thor (0.19.1)
Installing tilt (1.4.1)
Installing sass (3.2.19)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/ruby-2.0.0/bin/ruby extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal',
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/ruby-2.0.0/bin/ruby
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/
--enable-local
--disable-local
Gem files will remain installed in /tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.9 for inspection.
Results logged to /tmp/build_ee1504a4-d6f5-426d-b6ce-5ea56763298a/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.9/ext/sqlite3/gem_make.out
Installing rack-test (0.6.2)
Installing activesupport (4.0.4)
Installing json (1.8.1)
An error occurred while installing sqlite3 (1.3.9), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.3.9'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Detected sqlite3 gem which is not supported on Heroku.
! https://devcenter.heroku.com/articles/sqlite3
!
! Push rejected, failed to compile Ruby app
To git@heroku.work:stormy-lake-3739.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.work:stormy-lake-3739.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment