Torquebox-examples is a project mainly written in Ruby, it's free.
Example projects that demonstrate some of the features in smaller, non-Rails applications (Rack/Sinatra)
404: Not Found