I am trying to install RVM on a Solaris 11 system, the curl -sSL https://get.rvm.io | bash -s stable
went through, but when I actually try to use rvm
, it simply stats "ERROR: Missing GNU tools: grep which awk cp date find sed tail tar xargs. Make sure they are installed in '/' before using RVM!" and quit.
By reading https://github.com/wayneeseguin/rvm/blob/master/scripts/functions/support I found that the gnu_tools_path
is hardcoded to /usr/gnu/bin
. I checked that directly and found some symlinks there. I tried to make a symlink of /ec/bin/grep
to there, only to find that on this Solaris 11 system the usr
is mounted read-only. After a quick Google, I assume it were a "sparse zone" problem (as I have no idea about Solaris at all).
But grep
on this Solaris 11 works just fine, it has version number grep (GNU grep) 2.16
, just located under /ec/bin/
.
So my question is: how can I fix the path so RVM can use the grep under /ec/bin
?