Home > database >  Ruby rails gem bundle install fail
Ruby rails gem bundle install fail

Time:08-26

I'm trying to set up a new project with ruby rails but when I try to do bundle install. It gives me this error.

An error occurred while installing sqlite3 (1.4.4), and Bundler cannot continue.

In Gemfile:
  sqlite3

CodePudding user response:

I think you need to install sqlite3 and sqlite3-dev first.

sudo apt-get install -y sqlite3 libsqlite3-dev

and after try again in your project

bundle install
  • Related