Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8250781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:00:55+00:00 2026-06-08T00:00:55+00:00

When I want to deploy my app to heroku (using git push heroku master),

  • 0

When I want to deploy my app to heroku (using git push heroku master), it gives me an error and told me to install sqlite3 -v ‘1.3.6’. So after successfully installing that gem, I tried deploying it again to heroku and it still give me the same error!! However, I’ve already installed it. And now I can’t even run my rails project locally (rails server). May I know what could be the cause of this?

Here’s my content in database.yml file:

# SQLite version 3.x
#   gem install sqlite3
#
#   Ensure the SQLite 3 gem is defined in your Gemfile
#   gem 'sqlite3'
development:
  adapter: sqlite3
  database: db/development.sqlite3
  pool: 5
  timeout: 5000

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: sqlite3
  database: db/test.sqlite3
  pool: 5
  timeout: 5000

production:
  adapter: sqlite3
  database: db/production.sqlite3
  pool: 5
  timeout: 5000
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:00:56+00:00Added an answer on June 8, 2026 at 12:00 am

    Heroku does not work with SQLite3

    Open your Gemfile and replace the line:

    gem 'sqlite3'
    

    for

    group :production do
      gem 'pg'
    end
    
    group :development, :test do
      gem 'sqlite3'
    end
    

    I also suggest you to read the heroku instructions: https://devcenter.heroku.com/articles/rails3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a heroku app, that's like the default, but I want to deploy
I've got a python app and I want to deploy it. I'm using Aptana
I want to deploy my django app using apache + mod_wsgi again. I seem
So I want to deploy my app to Heroku, registered the account and did
For a Rails 3.1 app, I want to develop locally using SQLite and deploy
I want to deploy an app using Sinatra on Phusion Passenger w/ nginx. If
I want to deploy an app in Heroku to try their new Play! Framework
I'm writing an app with GWT, which I want to deploy to Google App
I have a rails app and I want to deploy it on a server
I want to deploy a applicacion in appharbor, in local my app read and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.