Skip to content

Commit

Permalink
macOS dev guide: add Shell profile instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Dillmann committed Sep 6, 2024
1 parent e0862db commit 2b20ddd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/development/development-environment/macos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ To configure the environment variables such as the number of web server threads
the `.env.example` to `.env` and add the environment variables you want to configure. The variables will be
automatically loaded to the application's environment.

> [!TIP]
> Instead of using the `gssencmode` flag in `config/database.yml`, you can add `export PGGSSENCMODE="disable"` to your
> Shell profile (`~/.zprofile` by default). This will prevent Ruby crashes for *all* of your projects.
>
> However, some users report Ruby crashes despite having setting this flag to disable.
> If this happens on your machine, try adding `export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=yes` to your Shell profile.

### Install other requirements

Some operations in OpenProject require additional software. These include PDF exports and interaction with an
Expand Down

0 comments on commit 2b20ddd

Please sign in to comment.