Adds some flexibility to the generated chruby.sh file

The patch allows the user to override where the generated chruby.sh will be stored and who the owner of the file will be.