Umm. No.
No.
And may I repeat no.
Someone wrote that and decided not to release it for free.  That's a
valid choice, and should be respected and supported.  Your lack of
will, or funds, to get the legal version of the book don't matter.

Now all that aside, you can learn ruby very nicely from the pragmatic
programmers guide (available legally, for free, online), and the
poignent guide to ruby (also available, legally, for free).

Use google. It's your friend.  It will find those guides for you, and
also find plenty of good examples.

And don't ask people to participate in theft like that.

--Kyle