From: Ruby Student Date: 2013-06-10T07:38:09+09:00 Subject: Re: "Unable to require openssl" is driving me crazy gem 2.0.3 might be broken --089e011822e06bd7fe04dec0515a Content-Type: text/plain; charset=ISO-8859-1 I neglected to show my current OpenSSL installed files: *rpm -qa | grep -i openssl* openssl-perl-1.0.0-25.el6_3.1.x86_64 openssl-1.0.0-25.el6_3.1.x86_64 openssl-devel-1.0.0-25.el6_3.1.x86_64 openssl-1.0.0-25.el6_3.1.i686 openssl-static-1.0.0-25.el6_3.1.x86_64 openssl098e-0.9.8e-17.el6_2.2.x86_64 and *yum list | grep -i openssl* openssl.i686 1.0.0-25.el6_3.1 @RHEL-63-x86_64-updates openssl.x86_64 1.0.0-25.el6_3.1 @RHEL-63-x86_64-updates openssl-devel.x86_64 1.0.0-25.el6_3.1 @RHEL-63-x86_64-updates openssl-perl.x86_64 1.0.0-25.el6_3.1 @RHEL-63-x86_64-updates openssl-static.x86_64 1.0.0-25.el6_3.1 @RHEL-63-x86_64-updates openssl098e.x86_64 0.9.8e-17.el6_2.2 @el63/$releasever globus-gsi-openssl-error.i686 2.1-2.el6 epel globus-gsi-openssl-error.x86_64 2.1-2.el6 epel globus-gsi-openssl-error-debuginfo.x86_64 globus-gsi-openssl-error-devel.i686 2.1-2.el6 epel globus-gsi-openssl-error-devel.x86_64 2.1-2.el6 epel globus-gsi-openssl-error-doc.noarch 2.1-2.el6 epel globus-openssl-module.i686 3.2-1.el6 epel globus-openssl-module.x86_64 3.2-1.el6 epel globus-openssl-module-debuginfo.x86_64 3.2-1.el6 epel-debuginfo globus-openssl-module-devel.i686 3.2-1.el6 epel globus-openssl-module-devel.x86_64 3.2-1.el6 epel globus-openssl-module-doc.noarch 3.2-1.el6 epel globus-openssl-module-progs.x86_64 3.2-1.el6 epel krb5-pkinit-openssl.x86_64 1.9-33.el6_3.3 RHEL-63-x86_64-updates libpathfinder-openssl.x86_64 1.1.0-1.el6 occ-auto libpathfinder-openssl-devel.x86_64 1.1.0-1.el6 occ-auto mingw32-openssl.noarch 1.0.0d-2.el6 occ-auto mingw32-openssl-static.noarch 1.0.0d-2.el6 occ-auto mingw64-openssl.noarch 1.0.0d-2.el6 occ-auto mingw64-openssl-static.noarch 1.0.0d-2.el6 occ-auto openssl-devel.i686 1.0.0-25.el6_3.1 RHEL-63-x86_64-updates openssl098e.i686 0.9.8e-17.el6_2.2 RHEL-63-x86_64 perl-Crypt-OpenSSL-AES.x86_64 0.02-9.el6 epel perl-Crypt-OpenSSL-AES-debuginfo.x86_64 perl-Crypt-OpenSSL-Bignum.x86_64 0.04-8.1.el6 RHEL-63-x86_64 perl-Crypt-OpenSSL-DSA.x86_64 0.13-14.el6 epel perl-Crypt-OpenSSL-DSA-debuginfo.x86_64 perl-Crypt-OpenSSL-PKCS10.x86_64 0.06-13.el6 occ-auto perl-Crypt-OpenSSL-RSA.x86_64 0.25-10.1.el6 RHEL-63-x86_64 perl-Crypt-OpenSSL-Random.x86_64 0.04-9.1.el6 RHEL-63-x86_64 perl-Crypt-OpenSSL-X509.x86_64 1.800.2-1.el6 epel perl-Crypt-OpenSSL-X509-debuginfo.x86_64 pyOpenSSL.x86_64 0.10-2.el6 RHEL-63-x86_64 xmlsec1-openssl.i686 1.2.16-2.el6 epel xmlsec1-openssl.x86_64 1.2.16-2.el6 epel xmlsec1-openssl-devel.i686 1.2.16-2.el6 epel xmlsec1-openssl-devel.x86_64 1.2.16-2.el6 epel On Sun, Jun 9, 2013 at 6:17 PM, Ruby Student wrote: > Hello Team, > > I was having lost of problems when Ruby *gem *stop working. So I upgraded > from Ruby 1.9.3-p392upgraded to Ruby > 1.9.3-p429mistakenly thinking that my problems would be over. The is related to > openssl, which I tried to install with gem but gem is broken. > > I searched and searched for a while trying to locate the openssl library > needed to install it without using gem, but I could not find it. > > The installation process for Ruby 1.9.3-p42, > (*./configure, make, make install*) went just fine without error. > > This is what I have: > > OS: > RedHat (RHEL) 6.3, x86_64-linux > > > *ruby -v* > ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux] > > *gem -v* > 2.0.3 > > If I do a *gem list*, it works fine displaying the local installed gems. > > If I tried to download a gem or upgrade gem itself, it fails. Anything > that requires to reach out outside my server, it fails. > > For example, > > *gem list --remote* > > *** REMOTE GEMS *** > > ERROR: While executing gem ... (Gem::Exception) > Unable to require openssl, install OpenSSL and rebuild ruby > (preferred) or use non-HTTPS sources > > or > > *gem install --sinatra* > ERROR: Loading command: install (LoadError) > cannot load such file -- openssl > ERROR: While executing gem ... (NoMethodError) > undefined method `invoke_with_build_args' for nil:NilClass > > or > > *gem server* > ERROR: Loading command: server (LoadError) > cannot load such file -- openssl > ERROR: While executing gem ... (NoMethodError) > undefined method `invoke_with_build_args' for nil:NilClass > > Any help will be appreciated. > > Thank you > > -- > Ruby Student > -- Ruby Student --089e011822e06bd7fe04dec0515a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I neglected to show my current OpenSSL installed file= s:

rpm -qa | grep -i openssl

openssl-perl-1.0.0-25.el6= _3.1.x86_64
openssl-1.0.0-25.el6_3.1.x86_64
openssl-devel-1.0.0-25.el= 6_3.1.x86_64
openssl-1.0.0-25.el6_3.1.i686
openssl-static-1.0.0-25.el6_3.1.x86_64
= openssl098e-0.9.8e-17.el6_2.2.x86_64

and

yum list=A0= | grep -i openssl

openssl.i686=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.0.0-25.el6_3.1=A0=A0=A0=A0= =A0=A0=A0 @RHEL-63-x86_64-updates
openssl.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 1.0.0-25.el6_3.1=A0=A0=A0=A0=A0=A0=A0 @RHEL-63-x86_64-updates<= br>openssl-devel.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 1.0.0-25.el6_3.1=A0=A0=A0=A0=A0=A0=A0 @RHEL-63-x86_64-updates
openss= l-perl.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.0.= 0-25.el6_3.1=A0=A0=A0=A0=A0=A0=A0 @RHEL-63-x86_64-updates
openssl-static.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.= 0.0-25.el6_3.1=A0=A0=A0=A0=A0=A0=A0 @RHEL-63-x86_64-updates
openssl098e.= x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.9.8e-1= 7.el6_2.2=A0=A0=A0=A0=A0=A0 @el63/$releasever
globus-gsi-openssl-error.i= 686=A0=A0=A0=A0=A0=A0=A0=A0=A0 2.1-2.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
globus-gsi-openssl-error.x86_64=A0=A0=A0=A0=A0=A0=A0 2.1-2.el6=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 globus-gsi-openssl-error-debuginfo.x86_64
globus-gsi-openssl-error-deve= l.i686=A0=A0=A0 2.1-2.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
globus-gsi-openssl-error-devel.x86_64= =A0 2.1-2.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0
globus-gsi-openssl-error-doc.noarch=A0=A0=A0 2.1-2.el6=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
globus-o= penssl-module.i686=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 3.2-1.el6=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
globus-openssl-module.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 3.2-1.el6=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0
globus-openssl-module-debuginfo.x86_64 3.2-1.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 epel-debuginfo=A0=A0
globus-openssl-module-devel.i686= =A0=A0=A0=A0=A0=A0 3.2-1.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
globus-openssl-module-devel.x86_64= =A0=A0=A0=A0 3.2-1.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
globus-openssl-module-doc.noarch=A0=A0=A0=A0=A0=A0 3.2-1.el6=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
gl= obus-openssl-module-progs.x86_64=A0=A0=A0=A0 3.2-1.el6=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
krb5-pki= nit-openssl.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.9-33.el6_3.3=A0=A0= =A0=A0=A0=A0=A0=A0=A0 RHEL-63-x86_64-updates
libpathfinder-openssl.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.1.0-1.el6=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
libp= athfinder-openssl-devel.x86_64=A0=A0=A0=A0 1.1.0-1.el6=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
mingw32-openssl.noarch= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.0.0d-2.el6=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
mingw32-openssl-static.noarch=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.0.0d-2.el6=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
mingw64-op= enssl.noarch=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.0.0d-2.el6= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
ming= w64-openssl-static.noarch=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.0.0d-2.el6=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
openssl-devel.i686=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 1.0.0-25.el6_3.1=A0=A0=A0=A0=A0=A0=A0 RHEL-63-x86_64-updates
openssl= 098e.i686=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= 0.9.8e-17.el6_2.2=A0=A0=A0=A0=A0=A0 RHEL-63-x86_64=A0=A0
perl-Crypt-Op= enSSL-AES.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.02-9.el6=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
perl-Crypt-OpenSSL-AES-debuginfo.x86_64
perl-Crypt-OpenSSL-Bignum.x86_64= =A0=A0=A0=A0=A0=A0 0.04-8.1.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 RHEL-63-x8= 6_64=A0=A0
perl-Crypt-OpenSSL-DSA.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.1= 3-14.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0
perl-Crypt-OpenSSL-DSA-debuginfo.x86_64
perl-Crypt-OpenSSL-PKCS10.x86_64=A0=A0=A0=A0=A0=A0 0.06-13.el6=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 occ-auto=A0=A0=A0=A0=A0=A0=A0=A0
perl-Crypt-Op= enSSL-RSA.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.25-10.1.el6=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 RHEL-63-x86_64=A0=A0
perl-Crypt-OpenSSL-Random.x86_64=A0= =A0=A0=A0=A0=A0 0.04-9.1.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 RHEL-63-x86_6= 4=A0=A0
perl-Crypt-OpenSSL-X509.x86_64=A0=A0=A0=A0=A0=A0=A0=A0 1.800.2-1.el6=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
perl-= Crypt-OpenSSL-X509-debuginfo.x86_64
pyOpenSSL.x86_64=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.10-2.el6=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 RHEL-63-x86_64=A0=A0
xmlsec1-openssl.i686=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.2.16-2.el6=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
xmlsec1-openssl.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1.2.= 16-2.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0
xmlsec1-openssl-devel.i686=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 1.2.16-2.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0
xmlsec1-openssl-devel.x86_64=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 1.2.16-2.el6=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 epel



On Sun, Jun 9, 2013 at 6:17 PM, Ruby Student <= ruby.student@gm= ail.com> wrote:
Hello Team,

I was having lost of p= roblems when Ruby gem stop working. So I upgraded from Ruby 1.9.3-p392 upgraded to = Ruby 1.9.3-p429 mistakenly thinking that my problems would be over. The= is related to openssl, which I tried to install with gem but gem is broken= .

I searched and searched for a while trying to locate the ope= nssl library needed to install it without using gem, but I could not find i= t.

The installation process for Ruby 1.9.3-p42, (./configure, make, make install) went just f= ine without error.

This is what I have:

OS:
RedHat (RHEL)= 6.3, x86_64-linux

ruby= -v
ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux]

gem -v
2.0.3

If I do a gem list, it = works fine displaying the local installed gems.

If I trie= d to download a gem or upgrade gem itself, it fails. Anything that requires= to reach out outside my server, it fails.

For example,

gem list --remote

*** REMO= TE GEMS ***

ERROR:=A0 While executing gem ... (Gem::Exception)
= =A0=A0=A0 Unable to require openssl, install OpenSSL and rebuild ruby (pref= erred) or use non-HTTPS sources

or

gem install --sinatra
ERROR:=A0 Loading = command: install (LoadError)
=A0=A0=A0 cannot load such file -- openssl<= br>ERROR:=A0 While executing gem ... (NoMethodError)
=A0=A0=A0 undefined= method `invoke_with_build_args' for nil:NilClass

or

gem server
ERROR:=A0 Loading = command: server (LoadError)
=A0=A0=A0 cannot load such file -- opensslERROR:=A0 While executing gem ... (NoMethodError)
=A0=A0=A0 undefined = method `invoke_with_build_args' for nil:NilClass

Any help will be appreciated.

Thank you
--
Ruby Student



--
Ruby Studen= t --089e011822e06bd7fe04dec0515a--