Added some logic to install correct puppet

It might not be needed soon but it allows those on older versions of
ruby to prevent getting a surprise. I've manually tested the Gemfile on:
  1.8.7-p302
  1.9.3-p547
* 2.1.2