Heroku deployment failed because of sqlite3 gem error

后端 未结 5 1816
太阳男子
太阳男子 2020-11-28 13:45

I just started the ruby.railstutorial.org book by Michael Hartl and have been working through the first chapter. I am using mac book OS X, Terminal, and Sublime Text. Every

5条回答
  •  -上瘾入骨i
    2020-11-28 14:21

    I have a solution for if you don't have sqlite3 directly in your gemfile and you're still getting this error.

    Most likely, you have a gem that uses sqlite3 as a dependency and it's including the gem without you knowing.

    1) Go to Gemfile.lock and do a search for sqlite.

    2) Locate which gem is using sqlite then move the gem into the development or test group.

    3) Bundle

提交回复
热议问题