Fix rake failing in production.

Change-Id: I9e367885807f7249fa9f8ef187d460f93550d523