Ics-rails-example is a project mainly written in Ruby, it's free.
Output an ICS file in Ruby
404: Not Found