I'm struggling with rvm. This isn't the first time I've installed rvm, and it isn't the first time I've had problems with it, but this problem is proving to be a right pain; and all of the articles that appear related are either completely out of date, or don't solve it.
I've installed rvm, but when I try to install any version of Ruby I receive an error.
Here's the command I'm using:
$ rvm package install readline
$ rvm install ree -C --with-readline-dir=$HOME/.rvm/usr
ree-1.8.7-2010.02 - #fetching (ruby-enterprise-1.8.7-2010.02)
ree-1.8.7-2010.02 - #extracting ruby-enterprise-1.8.7-2010.02 to /Users/Richard/.rvm/src/ree-1.8.7-2010.02
ree-1.8.7-2010.02 - #installing
Error running './installer -a /Users/Richard/.rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems ', please check /Users/Richard/.rvm/log/ree-1.8.7-2010.02/install*.log
There has been an error while trying to run the ree installer. Halting the installation.
and in the log file:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
readline.c: In function ‘username_completion_proc_call’:
readline.c:734: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:734: error: (Each undeclared identifier is reported only once
readline.c:734: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [all] Error 1
Given that I'm explicitly telling rvm to use another install of readline, does anyone know where I'm going wrong?
Daf