bash - RVM and Ruby not available to new user -
i have installed rvm user (which installed ruby 2), installed jruby using rvm same user. first user user work in (developing).
my application runs under own user. created application user, find rvm, ruby, jruby , gems available first user not available second (ex: rvm:command not found).
i believe has path , env variables, haven't been able find solution in searches.
any appreciated. thank you
rvm installed in executing user's home directory default. also, default, other users don't have access said home directory. solution install rvm under new users' home directory , initialise in .profile.
there multi-user option, install , add users rvm group, that's not recommended way install rvm. however, seem need do.
Comments
Post a Comment