Learnings
New Learning
About The App
Hire Me
Writing Samples
Edit Learning
Title
Body
Context: I was attempting to start the Rails development server using the project's specified command style (`rbenv exec ...`). Resolution: I found that running `./bin/dev` directly works correctly. The script's shebang (`#!/usr/bin/env ruby`) combined with my existing `rbenv` shim setup ensures the correct Ruby version is used without needing the `rbenv exec` prefix for this specific script. The prefix was causing an execution issue. Learning: I learned that `rbenv exec` might not always be necessary or beneficial if the target script and my shell environment (shims, PATH) are already correctly configured to find the intended Ruby version. In some cases, it can interfere. I updated the project convention to note `./bin/dev` might be preferred.
Learned on (YYYY-MM-DD)
Tags
Add comma-separated tags. They help filter learnings later.
Back to Learnings