# rbenv
Topics: [[Ruby]]
## Subtopics
-
## Issues with Homebrew
With [[Homebrew for Linux]] installed, I ran into issues where the `gem` command couldn't find `zlib`. I was able to solve this by telling `ruby-build` to use `zlib` from Homebrew as well.
```bash
RUBY_CONFIGURE_OPTS="--with-zlib-dir=$(brew --prefix zlib)" rbenv install <version>
```
## Bookmarks
-
## Related topics
-