updated support for RVM