Skip to content

Commit

Permalink
native libs FAQ entry (that I bumped into on a new dev system)
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Jul 21, 2016
1 parent 864347d commit 27f7a13
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,18 @@ after do
end
```

### `bundle install` says `Gem::Ext::BuildError: ERROR: Failed to build gem native extension`

When building from source, the `mysql2`, `pg`, and `sqlite` gems need their native client libraries
installed on your system. Note that this error isn't specific to ClosureTree.

On Ubuntu/Debian systems, run:

```
sudo apt-get install libpq-dev libsqlite3-dev libmysqlclient-dev
bundle install
```

## Testing with Closure Tree

Closure tree comes with some RSpec2/3 matchers which you may use for your tests:
Expand Down

0 comments on commit 27f7a13

Please sign in to comment.