The RAM isn't the primary problem, the CPU and GPU are. You'll likely be somewhere around 20-30 fps on 720p low. If that's good enough for you is a personal decision.
Steam does allow returns up to a few hours of play, so if you don't know how something will run, the best thing to do is simply try and if it doesn't, get a refund.