Fixed rake errors

Error log: [https://gist.github.com/mohitsethi/6841830]