attempting to debug and initialize ruby so that we can load gems from the bash script