From: Ruby Student Date: 2013-06-10T07:17:57+09:00 Subject: "Unable to require openssl" is driving me crazy gem 2.0.3 might be broken --20cf307813301b90db04dec009e5 Content-Type: text/plain; charset=ISO-8859-1 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 --20cf307813301b90db04dec009e5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Team,

I was having lost = of problems 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.

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
--20cf307813301b90db04dec009e5--