Skip to content

Commit

Permalink
Fix for crashes on MacOS related to ruby-pg
Browse files Browse the repository at this point in the history
Some users are reporting crashes on MacOS when first trying to access
the database. There's an issue open on `ruby-pg` that describes this
temporary workaround. ged/ruby-pg#538

Hopefully fixes: #1379
  • Loading branch information
jagthedrummer committed Jul 1, 2024
1 parent ef2f0ea commit 75e9312
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ default: &default
development:
<<: *default
database: untitled_application_development
# On MacOS some users are reporting crashes when first trying to access
# the database. This workaround was suggested in this issue on `ruby-pg`:
# https://github.com/ged/ruby-pg/issues/538
<% if RUBY_PLATFORM =~ /darwin/ %>gssencmode: disable<% end %>

# The specified database role being used to connect to postgres.
# To create additional roles in postgres see `$ createuser --help`.
Expand Down

0 comments on commit 75e9312

Please sign in to comment.