rvm, bug fixes & minor adjustments