Skip to content

Installing puma on windows

Robert Kranz edited this page Nov 19, 2013 · 6 revisions

(Eine deutsche Version dieses Tutorials gibt es auf unserem Blog: Puma für Ruby unter Windows installieren)

Requirements

  • Ruby for Windows
  • DevKit compatible with your ruby version
  • OpenSSL Developer Package (contains header files and binaries)

I have tested this with the following versions:

Install the puma gem

Steps:

  1. install DevKit, e.g. in c:\devkit
  2. unpack the OpenSSL Package, e.g. in c:\openssl (use 7Zip or PeaZip)
  3. You need to copy the ddls from the bin directory (libeay32.dll and ssleay32.dll) to your ruby/bin directory.
  4. open a windows console
  5. initialize the DevKit build environment
    c:\devkit\devkitvars.bat
  6. Now it’s possible to install the puma gem with the OpenSSL packages
    gem install puma -- --with-opt-dir=c:\openssl

Test run

If the installation was successful, puma should be installed correctly.
Try the puma version command in your console to verify this.
puma -v