I guess the best answer is always "it depends".
If you have time (like in university), then learning Ruby first is great.
If you are learning for food (or beer?), one might only have enough time to learn Rails basics then go back to Ruby.
I was taking the 2nd path without knowing it.
(Well I am forced to learn everything during a period that I was the only developer).