Skip to content

Commit

Permalink
Add pg per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jazairi committed Nov 20, 2023
1 parent d7e05b9 commit fe864e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ gem 'rails', '~> 7.1.2'
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem 'sprockets-rails'

# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4'

# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem 'turbo-rails'

Expand All @@ -54,12 +51,20 @@ gem 'tzinfo-data', platforms: %i[windows jruby]
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"

group :production do
# Use postgres as the database for Active Record
gem 'pg'
end

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'debug', platforms: %i[mri windows]

# Allow selective loading of configuration in different contexts (dev/test)
gem 'dotenv-rails'

# Use sqlite as the database for Active Record in dev and test
gem 'sqlite3'
end

group :development do
Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ GEM
parser (3.2.2.4)
ast (~> 2.4.1)
racc
pg (1.5.4)
psych (5.1.1.1)
stringio
public_suffix (5.0.3)
Expand Down Expand Up @@ -331,6 +332,7 @@ DEPENDENCIES
http
importmap-rails
jbuilder
pg
puma (>= 5.0)
rails (~> 7.1.2)
rubocop
Expand All @@ -340,7 +342,7 @@ DEPENDENCIES
simplecov
simplecov-lcov
sprockets-rails
sqlite3 (~> 1.4)
sqlite3
stimulus-rails
turbo-rails
tzinfo-data
Expand Down

0 comments on commit fe864e0

Please sign in to comment.