Avoid shell single quotes and Ruby command-line globals in the generator. Keep the fallback definition in the gperf input so the same recipe works under both POSIX shells and cmd.exe. https://github.com/ruby/io-console/commit/7a6f2545d3
rubygems/platform.rb