Lock rake into Gemfile to resolve test runner errors and remove superflous code.