Hello, all

I'm new to Ruby and I purchased both Agile books for learning Ruby & 
Rails. I don't know If I should learn Ruby first or dive into Rails?