Archive for rvm

[tekwalk] make rvmsudo use running user’s ENV var

Posted in Blogroll, tutorial with tags , , , , , , on April 30, 2013 by abhishekkr [8/Mar/2013]


While running ‘rvmsudo chef-solo ….’, it picks desired user but because of $HOME inference in the ‘nvm/’ still the HOME value got picked for ‘/root’. It messed up the situation.

To fix it, and any certain issues around permission which might occur… using

rvmsudo USER=$USER HOME=$HOME chef-solo -j….

it’s working with desired output.


…click here to read full post