added updates for ruby gem and example pipe.rb file.