Cleanup config vars, specifically PATH

This pull request tidies up a bit of how we set `PATH` in both runtime and build. When `rake` gets executed it should now call the bundler rake first before defaulting to the ruby rake if it's in stdlib.