Setting rvm: is_a_function: command not found

After installing rvm, use the following:

$ curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer > rvm-installer $ bash rvm-installer 

I did the following on the rvm website:

 $ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile $ source .bash_profile -sh: is_a_function: command not found 

When I looked at the installation output, I see that this error was also reported during the installation (although I also see: "The installation of RVM in / Users //. Rvm / is completed.")

I looked at rvm scripts and I can see the is_a_function function in the script utility.

Please let me know what I need to do to fix this.

PS: I had to download the installer locally since I kept getting the following error:

 $ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) -sh: syntax error near unexpected token `<' 
+4
source share
1 answer

I was getting the same error, but switching to a stable version seems to have fixed it.

Was the work:

 sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) 
+7
source

Source: https://habr.com/ru/post/1387866/


All Articles