Skip to content

Commit 5453499

Browse files
committed
Add instructions on installing surro-gate
Add compiler flags needed for installing the surro-gate gem.
1 parent 6fee140 commit 5453499

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

developer_setup.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ bin/setup
222222

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

225+
- The `surro-gate` gem contains C code which generates errors on some compilers.
226+
```
227+
gem install surro-gate -- --with-cflags="-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"
228+
```
229+
225230
- 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.
226231
227232
```bash

0 commit comments

Comments
 (0)