Skip to content

Instantly share code, notes, and snippets.

@logicminds
Created August 12, 2019 22:12
Show Gist options
  • Save logicminds/3cdc19e6da7f4d054ebf5508713f8afd to your computer and use it in GitHub Desktop.
Save logicminds/3cdc19e6da7f4d054ebf5508713f8afd to your computer and use it in GitHub Desktop.
pdk for windows
@ECHO OFF
SET DEVKIT_BASEDIR=C:\Program Files\Puppet Labs\DevelopmentKit
SET RUBY_DIR=%DEVKIT_BASEDIR%\private\ruby\2.4.5
SET SSL_CERT_FILE=%DEVKIT_BASEDIR%\ssl\cert.pem
SET SSL_CERT_DIR=%DEVKIT_BASEDIR%\ssl\certs
if "%ConEmuANSI%"=="ON" (
"%RUBY_DIR%\bin\ruby" -S -- "%RUBY_DIR%"\bin\pdk %*
) else (
"%DEVKIT_BASEDIR%\private\tools\bin\ansicon.exe" "%RUBY_DIR%\bin\ruby" -S -- "%RUBY_DIR%\bin\pdk" %*
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment