instead of:
rvm install 2.6.6 -C --with-jemalloc
Can I somehow set an environment variable so that I can install rubies without passing configure flags? That is:
rvm install 2.6.6
It seems there's this $rvm_configure_flags
var all throughout the rvm codebase so I tried setting that in my environment:
$ echo $rvm_configure_flags
--with-jemalloc
However that appears to not be used, or its clobbered somehow. I've echo $rvm_configure_flags
all throughout rvm codebase and can't seem to find where it's getting clobbered.
A fairly old(?) example .rvmrc file appears to suggest this is possible:
https://github.com/rvm/rvm/blob/master/examples/rvmrc#L90-L92
The RVM documentation has a section on compile flags: