Moving gem install up in script so it fails earler.
* Saving environment variables to a log file prior to configuring them; this is for debug purposes.