Pasta is a project mainly written in Ruby, it's free.
Silly pastebin-like sinatra application
Here's a demo running on Heroku.