They, like all Turing-equivalent languages, are functionally equivalent. You can do everything Ruby can do in PHP, and you can do everything PHP can do in Ruby. Neither is better than the other, they're just different. If you want to try something different, then maybe you'll want to learn Ruby.
Erlang and Clojure are the hacker languages of the month, though. The Ruby fad has passed.