Open amrapalijz opened 5 years ago
Try the following:
rm Gemfile.lock
add gem 'sqlite3' to Gemfile
bundle install
That didn't work. This is the Gemfile I should edit, right: https://github.com/slrbl/tornado-active-learning/blob/master/Gemfile ? It already contains gem 'sqlite3'. Does it need a version?
Yes, I think that you need to verify your active record version and find the suitable version of sqlite3.
Ah ok I updated my Gemfile to
gem 'sqlite3', '~> 1.3.6'
and now it works.
When I execute the
rake db:migrate
command I get:Amrapalis-MBP:tornado-active-learning amrapaliz$ rake db:migrate rake aborted! Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded. Add
gem 'sqlite3'to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
The Gemfile already has sqlite3. Which version should we add?