ruby on rails - RVM Multi-user and missing ~/.rvm dir -


i've installed rvm in multi-user mode. there application (gitlab) installed in single-user mode needed reinstall rvm support multi users.

the problem now, application throws error

/usr/bin/env: /home/git/.rvm/bin/ruby: no such file or directory

here , there allways, when i'm trying run command rake/bundle/rails. there way change somewhere in config make application ruby in correct path (which in /usr/local/rvm/bin/ruby) or need create symlink or, worse, edit each path in app?

i suppose don't want use both system-wide , single user rvm installations @ same time same user. i'm not sure if impossible, i'm quite sure idea.

to user runs application, need sure not loading @ point of login file $home/.rvm/scripts/rvm. make load system-wide installation, , should work normally. need being loaded, obvious candidates .bashrc, .bash_profile , .bash_alias , .profile, , system versions of these files if doesn't exists in user home. can check this link more info on this.

now, if want boy, suggest not keep both installations on same system @ all. remove system-wide installation , use normal installation. need download, compile , bunldle gitlab again, work.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -