Last active
January 2, 2016 04:29
-
-
Save guinslym/8251273 to your computer and use it in GitHub Desktop.
I have an error while trying to 'git push heroku master' . I have already uploaded my rsa key to heroku. (heroku keys:add ~/.ssh/rsa_name_of_my_key.pub) and I added my key too this key (heroku keys:add). When I did this on the terminal 'port install sqlite3 +universal' I have an error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
development: | |
adapter: sqlite3 | |
database: db/development.sqlite3 | |
pool: 5 | |
timeout: 5000 | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". | |
# Do not set this db to the same as development or production. | |
test: | |
adapter: sqlite3 | |
database: db/test.sqlite3 | |
pool: 5 | |
timeout: 5000 | |
production: | |
adapter: sqlite3 | |
database: db/production.sqlite3 | |
pool: 5 | |
timeout: 5000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guinslym@ubuntu:~/Documents/programming/rails_book/ch4/blog$ git push heroku master | |
Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts. | |
Initializing repository, done. | |
Counting objects: 158, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (146/146), done. | |
Writing objects: 100% (158/158), 31.91 KiB | 0 bytes/s, done. | |
Total 158 (delta 30), reused 0 (delta 0) | |
-----> Ruby app detected | |
-----> Compiling Ruby/Rails | |
-----> Using Ruby version: ruby-2.0.0 | |
-----> Installing dependencies using Bundler version 1.3.2 | |
New app detected loading default bundler cache | |
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching gem metadata from https://rubygems.org/.. | |
Using rake (10.1.0) | |
Installing i18n (0.6.9) | |
Using minitest (4.7.5) | |
Using multi_json (1.8.2) | |
Using atomic (1.1.14) | |
Using thread_safe (0.1.3) | |
Using tzinfo (0.3.38) | |
Using activesupport (4.0.1) | |
Using builder (3.1.4) | |
Using erubis (2.7.0) | |
Using rack (1.5.2) | |
Using rack-test (0.6.2) | |
Using actionpack (4.0.1) | |
Installing mime-types (1.25.1) | |
Using polyglot (0.3.3) | |
Using treetop (1.4.15) | |
Using mail (2.5.4) | |
Using actionmailer (4.0.1) | |
Using activemodel (4.0.1) | |
Using activerecord-deprecated_finders (1.0.3) | |
Using arel (4.0.1) | |
Using activerecord (4.0.1) | |
Using coffee-script-source (1.6.3) | |
Using execjs (2.0.2) | |
Using coffee-script (2.2.0) | |
Using thor (0.18.1) | |
Using railties (4.0.1) | |
Using coffee-rails (4.0.1) | |
Using hike (1.2.3) | |
Installing jbuilder (1.5.3) | |
Using jquery-rails (3.0.4) | |
Using json (1.8.1) | |
Using bundler (1.3.2) | |
Using tilt (1.4.1) | |
Installing sprockets (2.10.1) | |
Using sprockets-rails (2.0.1) | |
Using rails (4.0.1) | |
Using rdoc (3.12.2) | |
Using sass (3.2.12) | |
Using sass-rails (4.0.1) | |
Using sdoc (0.3.20) | |
Installing sqlite3 (1.3.8) | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/tmp/build_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/vendor/ruby-2.0.0/bin/ruby extconf.rb | |
checking for sqlite3.h... no | |
sqlite3.h is missing. Try 'port install sqlite3 +universal' | |
or 'yum install sqlite-devel' 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_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/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_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.8 for inspection. | |
Results logged to /tmp/build_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.8/ext/sqlite3/gem_make.out | |
An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. | |
Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before bundling. | |
Bundler Output: Fetching gem metadata from https://rubygems.org/......... | |
Fetching gem metadata from https://rubygems.org/.. | |
Using rake (10.1.0) | |
Installing i18n (0.6.9) | |
Using minitest (4.7.5) | |
Using multi_json (1.8.2) | |
Using atomic (1.1.14) | |
Using thread_safe (0.1.3) | |
Using tzinfo (0.3.38) | |
Using activesupport (4.0.1) | |
Using builder (3.1.4) | |
Using erubis (2.7.0) | |
Using rack (1.5.2) | |
Using rack-test (0.6.2) | |
Using actionpack (4.0.1) | |
Installing mime-types (1.25.1) | |
Using polyglot (0.3.3) | |
Using treetop (1.4.15) | |
Using mail (2.5.4) | |
Using actionmailer (4.0.1) | |
Using activemodel (4.0.1) | |
Using activerecord-deprecated_finders (1.0.3) | |
Using arel (4.0.1) | |
Using activerecord (4.0.1) | |
Using coffee-script-source (1.6.3) | |
Using execjs (2.0.2) | |
Using coffee-script (2.2.0) | |
Using thor (0.18.1) | |
Using railties (4.0.1) | |
Using coffee-rails (4.0.1) | |
Using hike (1.2.3) | |
Installing jbuilder (1.5.3) | |
Using jquery-rails (3.0.4) | |
Using json (1.8.1) | |
Using bundler (1.3.2) | |
Using tilt (1.4.1) | |
Installing sprockets (2.10.1) | |
Using sprockets-rails (2.0.1) | |
Using rails (4.0.1) | |
Using rdoc (3.12.2) | |
Using sass (3.2.12) | |
Using sass-rails (4.0.1) | |
Using sdoc (0.3.20) | |
Installing sqlite3 (1.3.8) | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/tmp/build_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/vendor/ruby-2.0.0/bin/ruby extconf.rb | |
checking for sqlite3.h... no | |
sqlite3.h is missing. Try 'port install sqlite3 +universal' | |
or 'yum install sqlite-devel' 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_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/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_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.8 for inspection. | |
Results logged to /tmp/build_5b27f5d4-b3d7-4e81-af74-d5a223c5ad3e/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.8/ext/sqlite3/gem_make.out | |
An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. | |
Make sure that `gem install sqlite3 -v '1.3.8'` 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 [email protected]:frozen-earth-5539.git | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to '[email protected]:frozen-earth-5539.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
guinslym@ubuntu:~/Documents/programming/rails_book/ch4/blog$ heroku push origin
!
push
is not a heroku command.! Perhaps you meant
auth
orps
.! See
heroku help
for a list of available commands.