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

前端 未结 4 673
后悔当初
后悔当初 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条回答
  •  独厮守ぢ
    2020-12-10 04:48

    I have placed gem 'sqlite3', '~> 1.3.6' inside of group :deevelopment, :test do and it worked for me.

    e.g :

    group :development, :test do
      gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
      gem 'sqlite3', '~> 1.3.6'
    end
    

提交回复
热议问题