ruby on rails - Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded -



ruby on rails - Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded -

i'm trying force app heroku getting message.

gem::loaderror: specified 'sqlite3' database adaptor, gem not loaded.

but did not. don't have sqlite3 anywhere in database.yml file

development: adapter: postgresql encoding: unicode database: blog_development pool: 5 timeout: 5000 host: localhost test: adapter: postgresql database: blog_test pool: 5 timeout: 5000 production: adapter: postgresql database: blog_production pool: 5 timeout: 5000

my adapter name psotgresql. opened file myself

cat database.yml

i searched through file not find postgresql. here gemfile

ruby '2.1.0' gem 'rails', '4.1.1' grouping :development, :test gem 'pg', '0.17.1' gem 'rspec-rails', '3.0.1' end grouping :production gem 'pg', '0.17.1' gem 'rails_12factor' end grouping :test gem 'selenium-webdriver', '2.35.1' gem 'capybara', '2.1.0' end gem 'sass-rails', '~> 4.0.2' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' gem 'sprockets-rails', '~> 2.1.3' gem 'bootstrap-sass', '3.1.1.1' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 2.1.1' grouping :doc gem 'sdoc', require: false end gem 'bcrypt', '~> 3.1.7'

i have pg located in production environment here. have ran bundle install, bundle update, git add, git commit, , git force heroku master numerous times , still message.

i don't understand this. did not specify sqlite3 database adaptor.

i'm @ loss words.

it sounds might have either:

forgot run bundle update or bundle install update gemfile.lock file, or

forgot commit gemfile , gemfile.lock changes git git commit before pushing heroku.

if problem 2nd case, question duplicate, have find canonical question around somewhere...

ruby-on-rails ruby heroku sqlite3

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -