fix rake error and rvm version for travis