gem env home changed by tmuxinator
Author: hjwCreated Dec 13, 2021Updated Aug 9, 2024
Describe the bug Tmuxinator is changing my gem location.
If I start up a tmux session using tmux instead of tmuxinator I get:
/Users/hjw/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0This matches what I get from outside of a tmux session.
Within a tmux session started by tmuxinator my gem env home gets set to:
(ruby3.0.2)Portal/dhamma-forms-experiment(models✘) ↑ % gem env home
/usr/local/Cellar/tmuxinator/3.0.1/libexecTo Reproduce
from a plain old command line (outside of a tmuxinator session)
run gem env home
start a session using tmuxinator
run gem env home
Expected behavior
the path returned by gem env home within a tmuxinator started tmux session should match the path returned from outside of a tmuxinator started session.
Environment tmuxinator 3.0.1 tmux 3.2a ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin18] MacOS 10.14.6
Source: tmuxinator/tmuxinator