Add this to your Gemfile,
group :production do
gem 'pg'
end
group :development, :test do
gem 'sqlite3'
end
then do a bundle
then repush to heroku. You cannot use sqlite3 on Heroku – which is the cause of the error.
More Related Contents:
- Boolean Validation
- Deploying RoR app to Heroku with SQLite 3 fails
- How to solve error “Missing `secret_key_base` for ‘production’ environment” (Rails 4.1)
- How do I install sqlite3 for Ruby on Windows?
- Change from SQLite to PostgreSQL in a fresh Rails project
- Heroku upload-Precompiling assets failed
- Heroku deployment failed because of sqlite3 gem error
- Heroku not sending email with Gmail SMTP
- Pushing Rails with SQLite3 to Heroku fails [duplicate]
- “bin/rails: No such file or directory” w/ Ruby 2 & Rails 4 on Heroku
- Long running delayed_job jobs stay locked after a restart on Heroku
- How can I solve this trouble to deploy a Rails App to Heroku?
- Why can’t I install the SQLite gem?
- sqlite3 gem fails to install
- Errors of pushing rails app to Heroku error occurred while installing sqlite3, and Bundler cannot continue [duplicate]
- Why won’t Heroku accept my Gemfile.lock in Windows?
- How to change default timezone for Active Record in Rails?
- Rails 5: ActiveRecord OR query
- How can I download a file from a URL and save it in Rails?
- What does “WARN Could not determine content-length of response body.” mean and how to I get rid of it?
- Cannot add a NOT NULL column with default value NULL in Sqlite3
- Getting fields_for and accepts_nested_attributes_for to work with a belongs_to relationship
- how to read a User uploaded file, without saving it to the database
- Convert UTC to local time in Rails 3
- Rails Paperclip how to delete attachment?
- Rails: “BCrypt::Errors::InvalidHash” when trying to sign in
- Remote mysql database on Heroku app
- Rails – Sort by join table data
- strong parameters permit all attributes for nested attributes
- Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?