Skip to content

gem env home changed by tmuxinator #841

Description

@hjw

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.0

This 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/libexec

To 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions