Can't seem to use ruby from rbenv

Resolved 💬 6 comments Opened Nov 4, 2025 by samsonjs Closed Mar 29, 2026

What version of Codex is running?

codex-cli 0.53.0

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5-codex high

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

I use zsh and rbenv. Even when asked to use eval "$(rbenv init -)" codex can't use ruby installed via rbenv and it can only find the system ruby.

What steps can reproduce the bug?

Uploaded thread: 019a502a-9908-7983-81df-15125da14a0d

What is the expected behavior?

It should inherit my shell's environment or at least be able to use rbenv somehow.

Additional information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗