I\'m following the instructions in rails tutorial and got stuck when trying to use the scaffold command.
When running:
rails generate scaffold User n
Ok I found the problem. I noticed that my Rails installation has both SQLite 1.3.3 and 1.3.4 I changed my Gemfile from:
gem 'sqlite3', '1.3.3'
to:
gem 'sqlite3', '1.3.4'
That solved the problem. Thanks @holger-just for pointing me to the relevant line in the error message in their answer.