ここに書いてあると通りにやっているのだが、解決されない。
http://qiita.com/MosamosaPoodle/items/7149aa66f1c087472777
heroku run rake db:migrateができない。
どのように解決したらよろしいでしょうか。
エラーコード下記になります。
Build Log
! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
Detected buildpacks: Ruby,Node.js
See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.3.4
-----> Installing dependencies using bundler 1.15.1
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Your Gemfile lists the gem sqlite3 (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the nclude
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
To see why this extension failed to compile, please check the mkmf.log which can
be found here:
/tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/sqlite3-1.3.13/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
/tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.13
for inspection.
Results logged to
/tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/sqlite3-1.3.13/gem_make.out
An error occurred while installing sqlite3 (1.3.13), and Bundler cannot
continue.
Make sure that gem install sqlite3 -v '1.3.13'
succeeds before bundling.
In Gemfile:
sqlite3
Bundler Output: Your Gemfile lists the gem sqlite3 (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Fetching rake 12.0.0
Fetching concurrent-ruby 1.0.5
Fetching i18n 0.8.4
Installing rake 12.0.0
Installing i18n 0.8.4
Installing concurrent-ruby 1.0.5
Fetching minitest 5.10.2
Fetching thread_safe 0.3.6
Installing minitest 5.10.2
Installing thread_safe 0.3.6
Fetching builder 3.2.3
Fetching erubi 1.6.0
Installing erubi 1.6.0
Installing builder 3.2.3
Fetching mini_portile2 2.2.0
Fetching rack 2.0.3
Fetching nio4r 2.1.0
Installing mini_portile2 2.2.0
Installing nio4r 2.1.0 with native extensions
Fetching websocket-extensions 0.1.2
Installing websocket-extensions 0.1.2
Installing rack 2.0.3
Fetching mime-types-data 3.2016.0521
Installing mime-types-data 3.2016.0521
Fetching arel 8.0.0
Installing arel 8.0.0
Fetching method_source 0.8.2
Installing method_source 0.8.2
Fetching thor 0.19.4
Using bundler 1.15.1
Fetching sqlite3 1.3.13
Installing thor 0.19.4
Installing sqlite3 1.3.13 with native extensions
Fetching puma 3.9.1
Installing puma 3.9.1 with native extensions
Fetching sass 3.4.24
Installing sass 3.4.24
Fetching tilt 2.0.7
Fetching execjs 2.7.0
Installing tilt 2.0.7
Installing execjs 2.7.0
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching turbolinks-source 5.0.3
Fetching multi_json 1.12.1
Installing turbolinks-source 5.0.3
Fetching multipart-post 2.0.0
Installing multi_json 1.12.1
Installing multipart-post 2.0.0
Fetching jwt 1.5.6
Fetching multi_xml 0.6.0
Installing jwt 1.5.6
Installing multi_xml 0.6.0
Fetching hashie 3.5.5
Fetching climate_control 0.2.0
Installing climate_control 0.2.0
Installing hashie 3.5.5
Fetching mimemagic 0.3.2
Installing mimemagic 0.3.2
Fetching bcrypt 3.1.11
Installing bcrypt 3.1.11 with native extensions
Fetching orm_adapter 0.5.0
Installing orm_adapter 0.5.0
Fetching pg 0.21.0
Installing pg 0.21.0 with native extensions
Fetching rails_serve_static_assets 0.0.5
Installing rails_serve_static_assets 0.0.5
Fetching rails_stdout_logging 0.0.5
Installing rails_stdout_logging 0.0.5
Fetching tzinfo 1.2.3
Installing tzinfo 1.2.3
Fetching nokogiri 1.8.0
Installing nokogiri 1.8.0 with native extensions
Fetching websocket-driver 0.6.5
Installing websocket-driver 0.6.5 with native extensions
Fetching mime-types 3.1
Installing mime-types 3.1
Fetching rack-test 0.6.3
Installing rack-test 0.6.3
Fetching sprockets 3.7.1
Installing sprockets 3.7.1
Fetching warden 1.2.7
Installing warden 1.2.7
Fetching figaro 1.1.1
Installing figaro 1.1.1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.13/ext/sqlite3 /tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/ruby-2.3.4/bin/ruby -r ./siteconf20170701-231-xhm2xp.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_be200cbf7449f875c457c3655fe692c4/vendor/ruby-2.3.4/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 To see why this extension failed to compile, please check the mkmf.log which can be found here: /tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/sqlite3-1.3.13/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.13 for inspection. Results logged to /tmp/build_be200cbf7449f875c457c3655fe692c4/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/sqlite3-1.3.13/gem_make.out An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.13'` succeeds before bundling. In Gemfile: sqlite3
!
! 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
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。