Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded

前端 未结 6 972
粉色の甜心
粉色の甜心 2021-02-05 05:45

I\'m trying to push my app to heroku but am getting this message.

Gem::LoadError: Specified \'sqlite3\' for database adaptor, but the gem is not loaded.
<         


        
6条回答
  •  误落风尘
    2021-02-05 06:10

    It sounds like you might have either:

    1. forgot to run bundle update or bundle install to update your Gemfile.lock file, or

    2. forgot to commit your Gemfile and Gemfile.lock changes to Git with git commit before pushing to Heroku.

    If your problem is the 2nd case, then this question is a duplicate, I just have to find the canonical question around somewhere...

提交回复
热议问题