Last Updated: February 25, 2016
·
886
· smerchek

Install the Puppet gem on Windows

You will need version 1.8.7 of Ruby. rubyinstaller.org is a good place to do this.

On a command prompt:

Verify ruby version is 1.8.7:

ruby -v

Install prerequisite gems:

gem install sys-admin win32-taskscheduler --no-rdoc --no-ri
gem install win32-process -v 0.6.6  --no-rdoc --no-ri
gem install win32-dir -v 0.3.7 --no-rdoc --no-ri
gem install win32-service --platform x86-mingw32 --no-rdoc --no-ri
gem install win32-security --no-rdoc --no-ri

Finally, install puppet:

gem install puppet --no-rdoc --no-ri

Run puppet:

puppet