Learnings
New Learning
About The App
Hire Me
Writing Samples
Edit Learning
Title
Body
Context: `rbenv init` in my `.zshrc` was likely placed incorrectly, preventing shims from being added to the PATH early enough. `gem install bundler` still failed with a permission error. Resolution (Workaround): I used `rbenv exec gem install bundler -v 2.6.7` to successfully install bundler within the correct Ruby 3.2.2 context managed by rbenv. Learning: `rbenv exec` forces the command to run within the context of the selected `rbenv` version, bypassing potential PATH or shell integration issues. It's a reliable way to ensure the correct Ruby environment is used when shell activation is faulty.
Learned on (YYYY-MM-DD)
Tags
Add comma-separated tags. They help filter learnings later.
Back to Learnings