updated script to use sude when installing gems and removing loging to bashrc file
adding environment variabled to script