Fix rake preview task.
Merge pull request #1229 from LevelbossMike/master

Fix rake preview task.