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

前端 未结 6 1043
粉色の甜心
粉色の甜心 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:11

    Had same issue when starting a rails 5.0 tutorial on cloud9 IDE (amazon). Default sqlite3 version installed by running {rails new} within the cloud editor was 3.7.17 2013-05-20

    this solved my problem : gem 'sqlite3', '~> 1.4.0'

    After this I succeeded to launch the "yay you're on rails page"

提交回复
热议问题