strano
strano copied to clipboard
bundle exec rake db:setup fails when using sqlite3
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.
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?