replace_gem: Error loading the 'sqlite3' Active Record adapter - while creating model

前端 未结 4 680
后悔当初
后悔当初 2020-12-10 04:09

I am getting an error while creating a model in the created project and the error is as follows,

/home/sushmitha/.rvm/gems/ruby-2.5.1/gems/bundler-2.0

4条回答
  •  猫巷女王i
    2020-12-10 04:49

    For rails 5.2.2 explicitly , update your Gemfile to sqlite to:

    gem 'sqlite3', '~> 1.3.6'
    

    and in terminal use :

    bundle update
    

提交回复
热议问题