Ruby on Rails Shell Script to Upgrade Ruby Enterprise Edition while Maintaining Directory Naming Sanity