ruby - Rails 4 sqlite3 Gem::LoadError -
i keep getting
specified 'sqlite3' database adapter, gem not loaded. add `gem 'sqlite3'` gemfile.
here's gemfile:
source 'https://rubygems.org' ruby '2.0.0' # bundle edge rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.0' gem 'thin' # gem 'sqlite3' gem 'mongoid', git: 'https://github.com/mongoid/mongoid.git' gem 'sass-rails', '~> 4.0.0' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 1.2' group :doc gem 'sdoc', require: false end
where else specify adapter? can see sqlite3 excluded gemfile. server restart didn't seem trick.
please check database.yml file . might have specified adapter sqlite.
Comments
Post a Comment