changed ruby version to be more general with respect to ruby v. 2