Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7194

Problems with installing puma gem v3.1.0 on Win7 64bit

Newsgroups comp.lang.ruby
Date 2016-03-10 22:02 -0800
Message-ID <4eee8a95-0943-405d-9d30-2063fd317c0e@googlegroups.com> (permalink)
Subject Problems with installing puma gem v3.1.0 on Win7 64bit
From Sulejman Ferizović <sulejman.ferizovic@gmail.com>

Show all headers | View raw


Hi Ruby community,

I'm trying to install puma gem v3.1.0 on my Win7 64bit and I keep getting this error:

C:\Users\A2>gem install puma --platform=ruby
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing puma:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/puma-3.1.0/ext/pum
a_http11
C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160310-3492-fk78ls.rb extconf.rb
checking for BIO_read() in -lcrypto... *** extconf.rb failed ***

I tried this solution:

   1. Checked which version of openssl Ruby is using by running ruby -v  -ropenssl -e "puts OpenSSL::OPENSSL_VERSION"
   2. Downloaded the right openssl version from https://bintray.com/oneclick/OpenKnapsack/openssl/view
   3. Extracted openssl using http://www.7-zip.org to C:\MyDir\openssl
   4. gem install puma -- --with-opt-dir=C:/MyDir/openssl

but it didn't work. 

Can anyone explain to me how to fix this, thanks in advance.

Back to comp.lang.ruby | Previous | Next | Find similar


Thread

Problems with installing puma gem v3.1.0 on Win7 64bit Sulejman Ferizović <sulejman.ferizovic@gmail.com> - 2016-03-10 22:02 -0800

csiph-web