Trying to solve a problem with therubyracer gem