Properly set PATHs and support rbenv