"They are completely different technologies.

PHP is a glorified scripting language.

RoR is a full dynamic programming language with tightly coupled technologies and architectures for web development

So it really depends on what sort of development you would like to do"