sandbox icon indicating copy to clipboard operation
sandbox copied to clipboard

Activate shouldn't touch HOME variable

Open stevvooe opened this issue 16 years ago • 3 comments

This really messes with editor and other settings.

stevvooe avatar Mar 06 '10 05:03 stevvooe

+50. I use virtualenv in python religiously, and I'm working on a Ruby client. For now, I keep the following in my ~/.profile, which mirror workon from virtualenvwrapper:

function rbworkon () {
    home=${HOME};
    source ~/.sandbox/${1}/bin/activate_sandbox;
    export HOME=${home};
}

matin avatar Jan 26 '11 19:01 matin

It's not a problem for deployment use with a dedicated user, but for personal use it's a KO criterion. Especially since that also likely means you cannot use specific bang-paths for "run under" behaviour like with virtualenv.

jhermann avatar Sep 14 '17 10:09 jhermann

Also, the README should explain why this is ‘better’ than RVM gem sets, or rbenv.

jhermann avatar Sep 14 '17 10:09 jhermann