Specifying gem versions to resolve issue with deploy