Hello, I've been trying to follow the steps word for word but I am stuck. I update the bundler and when I try to deploy(push) to heroku it says I have an older version of bundler.
MY-Mac-mini:test_app jinsu$ gem install bundler
Bundler and RubyGems.org are free for anyone to use, but maintaining them costs more than $25,000 USD every month. Help us cover those costs so that we can keep the gem ecosystem free for everyone: h ttps://ruby.to/support-bundler
Successfully installed bundler-1.14.3
Parsing documentation for bundler-1.14.3
bundle insDone installing documentation for bundler after 9 seconds
1 gem installed
MY-Mac-mini:test_app jinsu$ bundle install --without production
Using rake 12.0.0
Using concurrent-ruby 1.0.4
Using i18n 0.8.0
Using minitest 5.10.1
Using thread_safe 0.3.5
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 2.0.1
Using nio4r 1.2.1
Using websocket-extensions 0.1.2
Using mime-types-data 3.2016.0521
Using arel 7.1.4
Using byebug 9.0.6
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using method_source 0.8.2
Using thor 0.19.4
Using debug_inspector 0.0.2
Using ffi 1.9.17
Using multi_json 1.12.1
Using rb-fsevent 0.9.8
Using puma 3.7.0
Using bundler 1.14.3
Using sass 3.4.23
Using tilt 2.0.6
Using sqlite3 1.3.13
Using turbolinks-source 5.0.0
Using tzinfo 1.2.2
Using nokogiri 1.7.0.1
Using rack-test 0.6.3
Using sprockets 3.7.1
Using websocket-driver 0.6.5
Using mime-types 3.1
Using coffee-script 2.4.1
Using uglifier 3.0.4
Using rb-inotify 0.9.8
Using turbolinks 5.0.1
Using activesupport 5.0.1
Using loofah 2.0.3
Using mail 2.6.4
Using listen 3.0.8
Using rails-dom-testing 2.0.2
Using globalid 0.3.7
Using activemodel 5.0.1
Using jbuilder 2.6.1
Using spring 2.0.1
Using rails-html-sanitizer 1.0.3
Using activejob 5.0.1
Using activerecord 5.0.1
Using spring-watcher-listen 2.0.1
Using actionview 5.0.1
Using actionpack 5.0.1
Using actioncable 5.0.1
Using actionmailer 5.0.1
Using railties 5.0.1
Using sprockets-rails 3.2.0
Using coffee-rails 4.2.1
Using jquery-rails 4.2.2
Using web-console 3.4.0
Using rails 5.0.1
Using sass-rails 5.0.6
Bundle complete! 15 Gemfile dependencies, 62 gems now installed.
Gems in the group production were not installed.
Use bundle show [gemname]
to see where a bundled gem is installed.
MY-Mac-mini:test_app jinsu$ git add .
MY-Mac-mini:test_app jinsu$ git commit -m "Updates for heroku deployment"
On branch master
nothing to commit, working directory clean
MY-Mac-mini:test_app jinsu$ git push heroku master
Counting objects: 124, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (110/110), done.
Writing objects: 100% (124/124), 26.09 KiB | 0 bytes/s, done.
Total 124 (delta 14), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.6
remote: -----> Installing dependencies using bundler 1.13.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.3). We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
remote: Fetching gem metadata from htt ps://rubygems.org/.........
remote: Fetching version metadata from htt ps://rubygems.org/..
remote: Fetching dependency metadata from htt ps://rubygems.org/.
remote: Installing rake 12.0.0
remote: Installing i18n 0.8.0
remote: Installing concurrent-ruby 1.0.4
remote: Installing minitest 5.10.1
remote: Installing thread_safe 0.3.5
remote: Installing builder 3.2.3
remote: Installing erubis 2.7.0
remote: Installing mini_portile2 2.1.0
remote: Installing rack 2.0.1
remote: Installing nio4r 1.2.1 with native extensions
remote: Installing websocket-extensions 0.1.2
remote: Installing arel 7.1.4
remote: Installing mime-types-data 3.2016.0521
remote: Installing coffee-script-source 1.12.2
remote: Installing execjs 2.7.0
remote: Installing method_source 0.8.2
remote: Installing thor 0.19.4
remote: Installing multi_json 1.12.1
remote: Using bundler 1.13.7
remote: Installing puma 3.7.0 with native extensions
remote: Installing sass 3.4.23
remote: Installing tilt 2.0.6
remote: Installing sqlite3 1.3.13 with native extensions
remote: Installing turbolinks-source 5.0.0
remote: Installing tzinfo 1.2.2
remote: Installing nokogiri 1.7.0.1 with native extensions
remote: Installing rack-test 0.6.3
remote: Installing sprockets 3.7.1
remote: Installing websocket-driver 0.6.5 with native extensions
remote: Installing mime-types 3.1
remote: Installing coffee-script 2.4.1
remote: Installing uglifier 3.0.4
remote: Installing turbolinks 5.0.1
remote: Installing activesupport 5.0.1
remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
remote: /tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/ruby-2.2.6/bin/ruby -r
remote: ./siteconf20170207-232-1l0veqi.rb extconf.rb
remote: checking for sqlite3.h... no
remote: sqlite3.h is missing. Try 'brew install sqlite3',
remote: 'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
remote: and check your shared library search path (the
remote: location where your sqlite3 shared library is located).
remote: *** extconf.rb failed ***
remote: Could not create Makefile due to some reason, probably lack of necessary
remote: libraries and/or headers. Check the mkmf.log file for more details. You may
remote: need configuration options.
remote: Provided configuration options:
remote: --with-opt-dir
remote: --without-opt-dir
remote: --with-opt-include
remote: --without-opt-include=${opt-dir}/include
remote: --with-opt-lib
remote: --without-opt-lib=${opt-dir}/lib
remote: --with-make-prog
remote: --without-make-prog
remote: --srcdir=.
remote: --curdir
remote: --ruby=/tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/ruby-2.2.6/bin/$(RUBY_BASE_NAME)
remote: --with-sqlite3-config
remote: --without-sqlite3-config
remote: --with-pkg-config
remote: --without-pkg-config
remote: --with-sqlite3-dir
remote: --without-sqlite3-dir
remote: --with-sqlite3-include
remote: --without-sqlite3-include=${sqlite3-dir}/include
remote: --with-sqlite3-lib
remote: --without-sqlite3-lib=${sqlite3-dir}/lib
remote: extconf failed, exit code 1
remote: Gem files will remain installed in
remote: /tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/bundle/ruby/2.2.0/gems/sqlite3-1.3.13
remote: for inspection.
remote: Results logged to
remote: /tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/sqlite3-1.3.13/gem_make.out
remote: An error occurred while installing sqlite3 (1.3.13), and Bundler cannot
remote: continue.
remote: Make sure that gem install sqlite3 -v '1.3.13'
succeeds before bundling.
remote: Bundler Output: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.3). We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
remote: Fetching gem metadata from htt ps://rubygems.org/.........
remote: Fetching version metadata from htt ps://rubygems.org/..
remote: Fetching dependency metadata from htt ps://rubygems.org/.
remote: Installing rake 12.0.0
remote: Installing i18n 0.8.0
remote: Installing concurrent-ruby 1.0.4
remote: Installing minitest 5.10.1
remote: Installing thread_safe 0.3.5
remote: Installing builder 3.2.3
remote: Installing erubis 2.7.0
remote: Installing mini_portile2 2.1.0
remote: Installing rack 2.0.1
remote: Installing nio4r 1.2.1 with native extensions
remote: Installing websocket-extensions 0.1.2
remote: Installing arel 7.1.4
remote: Installing mime-types-data 3.2016.0521
remote: Installing coffee-script-source 1.12.2
remote: Installing execjs 2.7.0
remote: Installing method_source 0.8.2
remote: Installing thor 0.19.4
remote: Installing multi_json 1.12.1
remote: Using bundler 1.13.7
remote: Installing puma 3.7.0 with native extensions
remote: Installing sass 3.4.23
remote: Installing tilt 2.0.6
remote: Installing sqlite3 1.3.13 with native extensions
remote: Installing turbolinks-source 5.0.0
remote: Installing tzinfo 1.2.2
remote: Installing nokogiri 1.7.0.1 with native extensions
remote: Installing rack-test 0.6.3
remote: Installing sprockets 3.7.1
remote: Installing websocket-driver 0.6.5 with native extensions
remote: Installing mime-types 3.1
remote: Installing coffee-script 2.4.1
remote: Installing uglifier 3.0.4
remote: Installing turbolinks 5.0.1
remote: Installing activesupport 5.0.1
remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
remote:
remote: /tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/ruby-2.2.6/bin/ruby -r
remote: ./siteconf20170207-232-1l0veqi.rb extconf.rb
remote: checking for sqlite3.h... no
remote: sqlite3.h is missing. Try 'brew install sqlite3',
remote: 'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
remote: and check your shared library search path (the
remote: location where your sqlite3 shared library is located).
remote: *** extconf.rb failed ***
remote: Could not create Makefile due to some reason, probably lack of necessary
remote: libraries and/or headers. Check the mkmf.log file for more details. You may
remote: need configuration options.
remote:
remote: Provided configuration options:
remote: --with-opt-dir
remote: --without-opt-dir
remote: --with-opt-include
remote: --without-opt-include=${opt-dir}/include
remote: --with-opt-lib
remote: --without-opt-lib=${opt-dir}/lib
remote: --with-make-prog
remote: --without-make-prog
remote: --srcdir=.
remote: --curdir
remote: --ruby=/tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/ruby-2.2.6/bin/$(RUBY_BASE_NAME)
remote: --with-sqlite3-config
remote: --without-sqlite3-config
remote: --with-pkg-config
remote: --without-pkg-config
remote: --with-sqlite3-dir
remote: --without-sqlite3-dir
remote: --with-sqlite3-include
remote: --without-sqlite3-include=${sqlite3-dir}/include
remote: --with-sqlite3-lib
remote: --without-sqlite3-lib=${sqlite3-dir}/lib
remote:
remote: extconf failed, exit code 1
remote:
remote: Gem files will remain installed in
remote: /tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/bundle/ruby/2.2.0/gems/sqlite3-1.3.13
remote: for inspection.
remote: Results logged to
remote: /tmp/build_bb786d73c2d9b787181ac6bc1cc2012c/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/sqlite3-1.3.13/gem_make.out
remote:
remote: An error occurred while installing sqlite3 (1.3.13), and Bundler cannot
remote: continue.
remote: Make sure that gem install sqlite3 -v '1.3.13'
succeeds before bundling.
remote: !
remote: ! Failed to install gems via Bundler.
remote: ! Detected sqlite3 gem which is not supported on Heroku:
remote: ! https://devcenter.heroku.com/articles/sqlite3
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to serene-coast-23521.
remote:
To https://git.heroku.com/serene-coast-23521.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/serene-coast-23521.git'