> Usage
> Python can be used for web development, sys admin, statistics, and scientific computation. Meanwhile, Ruby is used primarily for web development. Python has the upper hand here, but if you are looking to only do web development, Ruby is the way to go.
As the grandparent said, it really depends on your goals.
I wouldn't use either Chef or Puppet today for a greenfield project.
If you elect to go with puppet or chef, be prepared to use something as an orchestration tool compliment the configuration management. Ansible and Salt can both be used as orchestrators to compliment a puppet or chef based configuration.
Of course, if you're deploying something simple, it makes no difference what you use. They will all handle package installs, config file templating and service management. In this case, Ansible/Salt are probably better as they will contain the orchestration features.
Argh, I hate the "learn both" conclusion. It doesn't help anyone.
If doing web programming? Ruby (+Rails).
Desktop / scientific computing? Python
As a general heuristic, just look at the types of projects you want to build and what they're built in. Then use that.