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)
- 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:
- Ruby 2.0.0p247
- DevKit 4.7.2-20130224
- the above stated OpenSSL package
Steps:
- install DevKit, e.g. in
c:\devkit
- unpack the OpenSSL Package, e.g. in
c:\openssl
(use 7Zip or PeaZip) - You need to copy the ddls from the bin directory (
libeay32.dll
andssleay32.dll
) to yourruby/bin
directory. - open a windows console
- initialize the DevKit build environment
c:\devkit\devkitvars.bat
- Now it’s possible to install the puma gem with the OpenSSL packages
gem install puma -- --with-opt-dir=c:\openssl
If the installation was successful, puma should be installed correctly.
Try the puma version command in your console to verify this.
puma -v