Skip to content

Commit

Permalink
Add setup gotcha around installing the mysql2 gem (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
spilth authored Jul 17, 2024
1 parent ac900b2 commit 70664d3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@ Below are barebones steps for getting started in development for the SDR.
- `bundle exec rake db:schema:load`
- `bundle exec rake sdr:server`
2. View to test environment Solr admin panel: http://localhost:8989/solr
3. View the operating GeoBlacklight Rails app: http://localhost:3000
3. View the operating GeoBlacklight Rails app: http://localhost:3000

### Setup Gotchas

If the `mysql2` gem fails to install and complains about not finding `zstd` you may need to do the following:

```bash
gem install mysql2 -v '0.5.6' -- --with-opt-dir=$(brew --prefix openssl) --with-ldflags=-L/opt/homebrew/opt/zstd/lib
```

0 comments on commit 70664d3

Please sign in to comment.