ruby learning problems