fix rake and rails versions