added rvm and capistrno support