strace shows a fd 15 with CLOEXEC flag and an exec to gpg with --status-fd=15 changing the shebang to ruby1.9.1 makes it work again