RSpec-custom-formatter is a project mainly written in Ruby, it's free.
Simple example of how to create your own RSpec formatter
Clone the respository.
Install RSpec gem:
gem install rspec
rspec -r ./my_formatter.rb dummy_spec.rb --format MyFormatter