Attempt to set dependency based on ruby version