The ruby examples don't behave the same as the python version since they use ARGF in place of stdin. They are also non-idiomatic. Here is a correct, idiomatic Ruby version:
$stdin.read.split.each do |w|
puts w if w.match(/ing$/)
end
or as a single 57 column line: $stdin.read.split.each { |w| puts w if w.match(/ing$/) }
we can also use the match operator: $stdin.read.split.each { |w| puts w if w =~ /ing$/ }
I'm inclined to assume that the other language examples are also suspect.