Fix endless loop with ruby 1.8
Fix endless loop with ruby 1.8

It seems when ruby 1.8 sees a shell shebang line it actually calls
the script with the shell again and we run into an endless loop.

To avoid this we pass -x to ruby when calling the script again with
ruby.

openSUSE/ruby-packaging,openSUSE/ruby-packaging