irods / externals

Dependencies for the building and installation of iRODS
2 stars 19 forks source link

rvm functions need to be sourced #32

Open bh9 opened 4 years ago

bh9 commented 4 years ago

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 commented 4 years ago

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

bh9 commented 4 years ago

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 commented 4 years ago

ah, seems good.