Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rvm functions need to be sourced #32

Open
bh9 opened this issue Jan 9, 2020 · 3 comments
Open

rvm functions need to be sourced #32

bh9 opened this issue Jan 9, 2020 · 3 comments

Comments

@bh9
Copy link
Contributor

bh9 commented Jan 9, 2020

Use of rvm needs the rvm functions to have been sourced. This is assumed to have been done, even though rvm is installed in install_prerequisites.py
Every time rvm is used, you should be ensuring that the rvm functions are available, and if they aren't they need to be sourced with source $HOME/.rvm/scripts/rvm

@trel
Copy link
Member

trel commented Jan 14, 2020

cannot reproduce this behavior - works here... can you copy/paste a failure?

@bh9
Copy link
Contributor Author

bh9 commented Jan 15, 2020

I can't reproduce it as root (default in a docker container), because rvm is installed into /usr/local/rvm. If done as another user, rvm is installed into ~/.rvm, not system-wide. This might be solved by replacing the curl -sSL https://get.rvm.io | bash -s stable with curl -sSL https://get.rvm.io | sudo bash -s stable

@trel
Copy link
Member

trel commented Jan 16, 2020

ah, seems good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants