Build things. Start with a barebones framework like Sinatra and make something really simple. Get a little more ambitious with each project. Eventually you’ll hit a wall with the barebones framework and at that point, you’ll be ready to jump into a full-featured framework like Rails.
If you can afford it, spring for a code camp.