For rails, there is this new site put up by the evangelism team http://railstutorial.org/
The problem with rails is because it moves very fast, books tend to go out of date very quickly. Aparently, railstutorial is supposed to stay up to date with the current stable version (starting with 3.0)
I am assuming you don't know ruby either. Personally, I came for rails, but stayed for ruby. It is an incredibly interesting language you can go very deep with. I would highly recommend The Well Grounded Rubyist by David Black, I bought loads of books starting out, but that one was by far the best for someone who doesn't already know ruby. While the why book is awesome for many reasons, the david black book will get you further, faster.
Haven't done rails on oracle before, but this looks fairly up to date.
As for setting up your stack on OSX, I would recommend checking out homebrew, as well as the tutorial links you get from other answers.