From 8ba219c4c070ae43ceb19543a903cb817aa153ae Mon Sep 17 00:00:00 2001 From: songtianlun Date: Tue, 7 Jan 2025 16:23:04 +0800 Subject: [PATCH] chore: add pg gem for production environment - Include the pg gem in the production group of the Gemfile - Update Gemfile.lock to reflect the addition of pg version 1.5.9 This change adds support for PostgreSQL in the production environment, which is necessary for deploying the application with a PostgreSQL database. The addition of the pg gem ensures that the application can connect to and interact with the database as intended. --- Gemfile | 4 ++++ Gemfile.lock | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 18d2a8a..69d3fde 100644 --- a/Gemfile +++ b/Gemfile @@ -73,3 +73,7 @@ end gem "cssbundling-rails", "~> 1.4" gem "jsbundling-rails", "~> 1.3" + +group :production do + gem "pg", "~> 1.5" +end diff --git a/Gemfile.lock b/Gemfile.lock index 353a6c7..05c97de 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -245,6 +245,7 @@ GEM parser (3.3.6.0) ast (~> 2.4.1) racc + pg (1.5.9) propshaft (1.1.0) actionpack (>= 7.0.0) activesupport (>= 7.0.0) @@ -442,6 +443,7 @@ DEPENDENCIES kamal kaminari (~> 1.2) minitest-reporters + pg (~> 1.5) propshaft puma (>= 5.0) rails (~> 8.0.1)