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

前端 未结 6 1087
粉色の甜心
粉色の甜心 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 05:55

    I had this issue.

    I had manually removed "pg (0.17.1)" from Gemfile.lock in an attempt to cover my tracks after neglecting to put the '--without production' param in for bundle install. Adding back solved the issue.

提交回复
热议问题