Archive for rvm

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

Posted in Blogroll, tutorial with tags , , , , , , on April 30, 2013 by abhishekkr

tekwalk.blogspot.com [8/Mar/2013]

http://tekwalk.blogspot.in/2013/03/make-rvmsudo-using-running-users-env.html

…..

While running ‘rvmsudo chef-solo ….’, it picks desired user but because of $HOME inference in the ‘nvm/install.sh’ 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.

Though…..

…click here to read full post

Advertisements