fix .profile.d syntax, and add gem bin path