Skip to content

Commit

Permalink
Fix for crashes on MacOS related to ruby-pg (#1573)
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 authored Jul 1, 2024
1 parent ef2f0ea commit 9e25d2b
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 9e25d2b

Please sign in to comment.