Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions developer_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,18 @@ bin/setup

- macOS requires platform specific Gems. Run `bundle config specific_platform true` before running `bin/setup`.

- The `surro-gate` gem contains C code which generates errors on some compilers.

You can add build flags to your bundler config:
```
bundle config set build.surro-gate --with-cflags=\"-Wno-error=incompatible-pointer-types\"
```

Or use `gem install`:
```
gem install surro-gate -- --with-cflags="-Wno-error=incompatible-pointer-types"
```

- If you've run PostgreSQL in a container, be sure to export the `DATABASE_URL` variable to connect to the container over TCP instead of a UNIX file socket.

```bash
Expand Down