module FileUtils
def ruby(*args,&block)
ruby %{-pe '$_.upcase!'
Run a Ruby interpreter with the given arguments.
def ruby(*args,&block) options = (Hash === args.last) ? args.pop : {} if args.length > 1 then sh(*([RUBY] + args + [options]), &block) else sh("#{RUBY} #{args.first}", options, &block) end end