I am working on a script right now and below is the script -if [ -z $1]thenexercismRepo=https://github.com/exercism/exercism.io.gitelseexercismRepo=$1figit clone $exercismRepo#Temporary directory for filesmkdir temp#This is used to determine the version of Ruby to installwget https://github.com/exercism/exercism.io/raw/master/Gemfilesudo pwdsudo cp ~/ExercismDevSetup/GemFile ~/ExercismDevSetup/temp/Gemfilesudo rm ~/ExercismDevSetup/GemfilerubyVersion=$(cat temp/Gemfile | grep ruby ')rubyVersion=${rubyVersion:6:5}echo GemFile Requires Ruby  + $rubyVersionecho Installing Ruby  + $rubyVersion#Install Ruby Proceduresudo apt-get install rbenv ruby-build -yrbenv install $rubyVersion#Install PostGreSQLsudo apt-get install postgresql postgresql-contrib -y#Install NodeJSsudo apt-get install nodejs -y#Execute the initial script provided by Exercism.iochmod a+x exercism.io/bin/setupsource exercism.io/bin/setupBut, whenever I run the script, I see the following 2 errors which break the script -cp: cannot stat /root/ExercismDevSetup/GemFile: No such file or directorycat: temp/Gemfile: No such file or directoryAny idea what might be wrong with the above script?
cp, mv and cat commands not working in Bash Script File
bash