I would like to learn Ruby on Rails to build my next dynamic website. Firs tof all, tell me please will I regret my choice for any reason? Is there anything related to Ruby on Rails that make it not good choice?

I want to know what should I learn first? My background is only HTML and CSS. Should I learn Ruby language then move to Ruby on Rails Framework or what?