removed rvmrc file. updated code to be more generic