Create example4.rb

Enable run ruby script.