Could not load 'active_record/connection_adapters/sqlite3_adapter'

后端 未结 2 1498
挽巷
挽巷 2020-12-09 22:28

I\'m trying to install ROR on my notebook (Debian Wheezy 64 bit).

On first I had this issue (enter link description here ) solved by the first answer.

Now th

2条回答
  •  庸人自扰
    2020-12-09 23:11

    Came across this error playing around in Sinatra today when running rake db:create_migration. My error was erroneously specifying a "sqlite:" database type in app.rb when it should have been "sqlite 3 :". Example:

    wrong:

    set :database, 'sqlite:name.db'
    

    correct:

    set :database, 'sqlite3:name.db'
    

提交回复
热议问题