Ruby upgrade

Some additions for upgrading to Ruby 2.0.0 and also allow downgrading to other ruby versions. Please review them and let me know what you think. I successfully upgraded a 1.9.3 install to 2.0.0 with these changes.