update ruby and rmagic