They're basically equivalent, so just figure out whether you like Python or Ruby more as a language and base your decision on that. And meanwhile, also try to figure out whether you enjoy making CRUD apps, because that's what Rails and Django are for.