Update Ruby memory variables for 2.1.