* Have a look at the syntax: https://learnxinyminutes.com/docs/ruby/
* Work through the Ruby koans: https://github.com/edgecase/ruby_koans
* If you have time or desire, look through the Poignant's Guide to Ruby: https://poignant.guide
It is a wonderful language. Good luck.
I don't know if it will matter for you, but I've found it useful to know what it is that I know. If this seems like you then pay attention to those notes whenever you see them mentioned. I don't specifically look for it but if mentioned on a doc page or StackOverflow comment will pick up on it.
That being said, vanilla Ruby is a real joy and you’ll be a better developer if you do take the time to learn it deeply. One fun source of lessons is Ruby Tapas, which is a subscription video “channel” that presents tons of best practices and neat tricks in short ~5’ videos. I highly recommend subscribing for a month and plowing through the back catalog :)
When people say that you can learn only basics of Ruby in few days and then move to Rails, they are right, you can, but this way you will learn two things in parallel, and it's pretty exhausting. So this doubtfully will save you any time.
I used the excellent Rails Tutorial [0] by Hartl.
Just look up things you don't know/understand as you go - he also introduces Ruby in chapter 4 though, so you should be fine.