Look for rake first. Fixes #3.