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/.

--
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-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@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.

Search Discussions

  • Timothy Mukaibo at Jan 10, 2015 at 3:20 am
    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/
    On 10 January 2015 at 07:01, David Williams wrote:

    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/.

    --
    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-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@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.
    --
    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-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CABLJ1DLktU7hYp-wEJ08szjZk1TxSB-PRs-HM9OwuR56Wo9TaQ%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.
  • David Williams at Jan 10, 2015 at 9:07 pm
    I had to install the gem with openssl and also change my devkit path.
    It's fixed now, thank.

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

    --
    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-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4413294f4a5b166866e4d01706a620c4%40ruby-forum.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJan 9, '15 at 8:01p
activeJan 10, '15 at 9:07p
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

David Williams: 2 posts Timothy Mukaibo: 1 post

People

Translate

site design / logo © 2022 Grokbase