I have a .rvmrc file in my project directory (let’s call it /GameScores). It will load a gemset named GameScores when I move into that directory. This part works fine.
But while in /GameScores, as soon as I go into tmux my terminal is no longer using the GameScores gemset. If I do rvm gemset name I get a blank
Any idea how to fix this? I want to be able to keep using my gemset when I use tmux. My current workaround is to simply run rvm gemset use GameScores when I go into tmux but I don’t want to do that every time.
The easiest fix for this is to
cd .after starting tmux. This is the answer provided by Wayne, the author of rvm.Edit 1:
If the above does not work you can do:
This is essentially the same as
cd .cd ..takes you up one dircd -takes you back