Update Install_rails.sh

Add logfile for all command