Puma Server won't Install

29 views
Skip to first unread message

David Williams

unread,
Jan 9, 2015, 3:02:26 PM1/9/15
to rubyonra...@googlegroups.com
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.

--
Posted via http://www.ruby-forum.com/.

Timothy Mukaibo

unread,
Jan 9, 2015, 10:20:27 PM1/9/15
to rubyonra...@googlegroups.com
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/

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9f46befedff9384ee8a568b8f57820ea%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

David Williams

unread,
Jan 10, 2015, 4:08:43 PM1/10/15
to rubyonra...@googlegroups.com
I had to install the gem with openssl and also change my devkit path.
It's fixed now, thank.
Reply all
Reply to author
Forward
0 new messages