chmod -x cmdstager_printf.rb

I don't see why it needs to be +x.