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:
  --with-opt-dir
  --without-opt-dir
  --with-opt-include
  --without-opt-include=${opt-dir}/include
  --with-opt-lib
  --without-opt-lib=${opt-dir}/lib
  --with-make-prog
  --without-make-prog
  --srcdir=.
  --curdir
  --ruby=C:/Ruby214/bin/ruby
  --with-puma_http11-dir
  --without-puma_http11-dir
  --with-puma_http11-include
  --without-puma_http11-include=${puma_http11-dir}/include
  --with-puma_http11-lib
  --without-puma_http11-lib=${puma_http11-dir}/lib
  --with-ssllib
  --without-ssllib
  --with-ssleay32lib
  --without-ssleay32lib

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
C:/Ruby214/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/puma-2.10.2/gem_make.out
An error occurred while installing puma (2.10.2), and Bundler cannot
continue.
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 Ruby DevKit installed and in your path? Check out http://rubyinstaller.org/add-ons/devkit/

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