Skip to content

Instantly share code, notes, and snippets.

@kirbyfern
Created November 22, 2016 16:19
Show Gist options
  • Save kirbyfern/bfe6d59834fbc7811f86ce9556bb2b2d to your computer and use it in GitHub Desktop.
Save kirbyfern/bfe6d59834fbc7811f86ce9556bb2b2d to your computer and use it in GitHub Desktop.
error: failed to push some refs to 'https://git.heroku.com/kboysample.git'
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.2.6
-----> Installing dependencies using bundler 1.13.6
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Installing i18n 0.7.0
Installing rake 11.3.0
Installing concurrent-ruby 1.0.2
Installing minitest 5.9.1
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile2 2.1.0
Installing nio4r 1.2.1 with native extensions
Installing rack 2.0.1
Installing websocket-extensions 0.1.2
Installing mime-types-data 3.2016.0521
Installing arel 7.1.4
Installing coffee-script-source 1.10.0
Installing execjs 2.7.0
Installing method_source 0.8.2
Installing thor 0.19.1
Installing multi_json 1.12.1
Installing puma 3.6.1 with native extensions
Using bundler 1.13.6
Installing sass 3.4.22
Installing tilt 2.0.5
Installing sqlite3 1.3.12 with native extensions
Installing turbolinks-source 5.0.0
Installing tzinfo 1.2.2
Installing nokogiri 1.6.8.1 with native extensions
Installing rack-test 0.6.3
Installing sprockets 3.7.0
Installing websocket-driver 0.6.4 with native extensions
Installing mime-types 3.1
Installing coffee-script 2.4.1
Installing uglifier 3.0.3
Installing turbolinks 5.0.1
Installing activesupport 5.0.0.1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/tmp/build_c909731e584a97f279ed40b9805f7945/vendor/ruby-2.2.6/bin/ruby -r
./siteconf20161122-228-odhuzl.rb extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'brew install sqlite3',
'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_c909731e584a97f279ed40b9805f7945/vendor/ruby-2.2.6/bin/$(RUBY_BASE_NAME)
--with-sqlite3-config
--without-sqlite3-config
--with-pkg-config
--without-pkg-config
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
extconf failed, exit code 1
Gem files will remain installed in
/tmp/build_c909731e584a97f279ed40b9805f7945/vendor/bundle/ruby/2.2.0/gems/sqlite3-1.3.12
for inspection.
Results logged to
/tmp/build_c909731e584a97f279ed40b9805f7945/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/sqlite3-1.3.12/gem_make.out
An error occurred while installing sqlite3 (1.3.12), and Bundler cannot
continue.
Make sure that `gem install sqlite3 -v '1.3.12'` succeeds before bundling.
Bundler Output: Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Installing i18n 0.7.0
Installing rake 11.3.0
Installing concurrent-ruby 1.0.2
Installing minitest 5.9.1
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile2 2.1.0
Installing nio4r 1.2.1 with native extensions
Installing rack 2.0.1
Installing websocket-extensions 0.1.2
Installing mime-types-data 3.2016.0521
Installing arel 7.1.4
Installing coffee-script-source 1.10.0
Installing execjs 2.7.0
Installing method_source 0.8.2
Installing thor 0.19.1
Installing multi_json 1.12.1
Installing puma 3.6.1 with native extensions
Using bundler 1.13.6
Installing sass 3.4.22
Installing tilt 2.0.5
Installing sqlite3 1.3.12 with native extensions
Installing turbolinks-source 5.0.0
Installing tzinfo 1.2.2
Installing nokogiri 1.6.8.1 with native extensions
Installing rack-test 0.6.3
Installing sprockets 3.7.0
Installing websocket-driver 0.6.4 with native extensions
Installing mime-types 3.1
Installing coffee-script 2.4.1
Installing uglifier 3.0.3
Installing turbolinks 5.0.1
Installing activesupport 5.0.0.1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/tmp/build_c909731e584a97f279ed40b9805f7945/vendor/ruby-2.2.6/bin/ruby -r
./siteconf20161122-228-odhuzl.rb extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'brew install sqlite3',
'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_c909731e584a97f279ed40b9805f7945/vendor/ruby-2.2.6/bin/$(RUBY_BASE_NAME)
--with-sqlite3-config
--without-sqlite3-config
--with-pkg-config
--without-pkg-config
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
extconf failed, exit code 1
Gem files will remain installed in
/tmp/build_c909731e584a97f279ed40b9805f7945/vendor/bundle/ruby/2.2.0/gems/sqlite3-1.3.12
for inspection.
Results logged to
/tmp/build_c909731e584a97f279ed40b9805f7945/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/sqlite3-1.3.12/gem_make.out
An error occurred while installing sqlite3 (1.3.12), and Bundler cannot
continue.
Make sure that `gem install sqlite3 -v '1.3.12'` 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.
! Push failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment