updated for new RVM
support customisation of context paths