As with most languages, this is mostly personal preference. Ruby is a more powerful than PHP, but less widespread in hosting environments.