Realplexor-ruby-api is a project mainly written in Ruby, it's free.
realplexor ruby api
Just test version