I have found this yesterday and I think it can be very useful for me and not only. Plugin to generate Google Maps and Yahoo! Maps Building Block API code directly from Ruby in Rails.
I want to test YM4R (since this is how this project is named), maybe it will be useful for Run-N-Share.
YM4R and other projects related to process geographical data are to found here