fix a path bug on the scripts of setting up ~/.bash_profile and ~/.gemrc;