Puma Server won't Install

I’m getting an exception error every time that I try to install this gem

gem ‘puma’

Error that I’m receiving
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

C:/Ruby214/bin/ruby.exe extconf.rb

checking for SSL_CTX_new() in -lssl… no
checking for SSL_CTX_new() in -lssleay32… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details.
You may
need configuration options.

Provided configuration options:

extconf failed, exit code 1

Gem files will remain installed in
C:/Ruby214/lib/ruby/gems/2.1.0/gems/puma-2.10.2 for inspection.
Results logged to
An error occurred while installing puma (2.10.2), and Bundler cannot
Make sure that gem install puma -v '2.10.2' succeeds before bundling.

It looks like you’re missing the openssl dependencies. Do you have the
DevKit installed and in your path? Check out

I had to install the gem with openssl and also change my devkit path.
It’s fixed now, thanks.