strano icon indicating copy to clipboard operation
strano copied to clipboard

bundle exec rake db:setup fails when using sqlite3

Open yoanisgil opened this issue 10 years ago • 1 comments

The command to setup the database fails with the following error trace: Please install the sqlite3 adapter: gem install activerecord-sqlite3-adapter (sqlite3 is not part of the bundle. Add it to Gemfile.) / Couldn't create database for {"adapter"=>"sqlite3", "database"=>"db/development.sqlite3"} Please install the sqlite3 adapter: gem install activerecord-sqlite3-adapter (sqlite3 is not part of the bundle. Add it to Gemfile.)

After adding the following line:

gem 'sqlite3'

to the Gemfile the issue is resolved.

yoanisgil avatar Jan 31 '15 21:01 yoanisgil

Not everybody want to use sqlite and install it to system, so i do not know how to make such a thing correctly. And ideas?

evtuhovich avatar Feb 02 '15 12:02 evtuhovich