# Error message when connecting GIT & Heroku

**URL:** <https://forum.freecodecamp.org/t/error-message-when-connecting-git-heroku/227172>\
**Category:** General\
**Created:** [September 16, 2018, 3:30am UTC](https://forum.freecodecamp.org/t/error-message-when-connecting-git-heroku/227172 "2018-09-16T03:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pumpkinT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pumpkint/32/90911_2.png) [@pumpkinT](https://forum.freecodecamp.org/u/pumpkinT)\
**Post date:** [September 16, 2018, 3:30am UTC](https://forum.freecodecamp.org/t/error-message-when-connecting-git-heroku/227172/1 "2018-09-16T03:30:27Z")

</div>

Hi  
Im getting the below error when connecting to Heroku - please help

To see why this extension failed to compile, please check the mkmf.log which can  
remote: be found here:  
remote:  
remote: /tmp/build\_92fd8d4462eb6eebdf24e0596ab3fd28/vendor/bundle/ruby/2.4.0/extensions/x86\_64-linux/2.4.0-static/sqlite3-1.3.13/mkmf.log  
remote:  
remote: extconf failed, exit code 1  
remote:  
remote: Gem files will remain installed in  
remote: /tmp/build\_92fd8d4462eb6eebdf24e0596ab3fd28/vendor/bundle/ruby/2.4.0/gems/sqlite3-1.3.13  
remote: for inspection.  
remote: Results logged to  
remote: /tmp/build\_92fd8d4462eb6eebdf24e0596ab3fd28/vendor/bundle/ruby/2.4.0/extensions/x86\_64-linux/2.4.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: In Gemfile:  
remote: sqlite3  
remote:  
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](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 vast-woodland-76886.  
remote:  
To [https://git.heroku.com/vast-woodland-76886.git](https://git.heroku.com/vast-woodland-76886.git)  
! [remote rejected] master -\> master (pre-receive hook declined)  
error: failed to push some refs to ‘[https://git.heroku.com/vast-woodland-76886.git](https://git.heroku.com/vast-woodland-76886.git)’

---

<div class="post-metadata">

**Author:** ![4ndrej](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/4ndrej/32/100600_2.png) [@4ndrej](https://forum.freecodecamp.org/u/4ndrej)\
**Post date:** [September 17, 2018, 6:53am UTC](https://forum.freecodecamp.org/t/error-message-when-connecting-git-heroku/227172/2 "2018-09-17T06:53:46Z")

</div>

The error contains all you need:  
**Detected sqlite3 gem which is not supported on Heroku.**

The problem is you can’t use sqlite3 on Heroku. They provided even [the explanation web page](https://devcenter.heroku.com/articles/sqlite3), so remove your sqlite3 project dependency and you can continue.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:10pm UTC](https://forum.freecodecamp.org/t/error-message-when-connecting-git-heroku/227172/3 "2021-01-17T20:10:27Z")

</div>

Closed on January 17, 2021, 8:10pm UTC


