|
|
|
|
|
by revscat
5419 days ago
|
|
I am currently porting a Ruby application over to JRuby, and use tmux (although I am pretty sure screen would behave the same). Let's say you have two rubies installed, ree and jruby. You start out using ree, and are using screen/tmux, and have two screens open. If you switch to JRuby in the first screen, then switch to the second, the changes don't propagate. e.g.: (first screen) $ rvm list
rvm rubies
=> jruby-1.6.3 [ darwin-i386-java ]
ree-1.8.7.2001.03 [ x86_64]
(second screen) $ rvm list
rvm rubies
jruby-1.6.3 [ darwin-i386-java ]
=> ree-1.8.7.2001.03 [ x86_64]
It's not a big deal -- you just have to make sure you do the right thing -- but it is unexpected and has burned me a couple of times. It looks like rbenv won't suffer from this problem. |
|