RUBY versions and Rails version

Can anybody tell me the differences between the different ruby version
and
rails vesrions

Regards
prashant