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 `<'
source share