Bug 21693 - ruby 's "gem install compass" and all other gem installs fails
Summary: ruby 's "gem install compass" and all other gem installs fails
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Pascal Terjan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-11 21:29 CEST by Shlomi Fish
Modified: 2019-03-06 00:22 CET (History)
0 users

See Also:
Source RPM: ruby-2.4.1-13.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Shlomi Fish 2017-09-11 21:29:19 CEST
Description of problem:

shlomif[perl-begin]:$trunk$ sudo /usr/bin/gem install compass
ERROR:  While executing gem ... (NoMethodError)
    undefined method `set_params' for #<OpenSSL::SSL::SSLContext:0x00000000eb0910>
shlomif[perl-begin]:$trunk$ sudo /usr/bin/gem --version
2.6.13
shlomif[perl-begin]:$trunk$ uname -a
Linux telaviv1.shlomifish.org 4.12.12-desktop-2.mga7 #1 SMP Sun Sep 10 22:02:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
shlomif[perl-begin]:$trunk$ ^C^C
shlomif[perl-begin]:$trunk$ lsb
lsbinstall   lsblk        lsb_release  
shlomif[perl-begin]:$trunk$ lsb_release 
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch
shlomif[perl-begin]:$trunk$ cat /etc/mageia-release 
Mageia release 7 (Cauldron) for x86_64
shlomif[perl-begin]:$trunk$ 
Version-Release number of selected component (if applicable):

Here is also some related discussion on #ruby on freenode (I am rindolf):

Sep 11 20:01:28 <rindolf>	Hi all! How can I fix this openssl error with the latest gem? http://paste.debian.net/985591/
Sep 11 20:13:16 <rindolf>	anyone?
Sep 11 20:21:44 <tcopeland>	rindolf: what ruby version is it?
Sep 11 20:22:54 <rindolf>	tcopeland: ruby-2.4.1-13.mga7
Sep 11 20:23:10 <tcopeland>	you could do sudo /usr/bin/ruby -ropenssl /usr/bin/gem install compass, but that doesn’t address whatever the underlying issue is
Sep 11 20:35:10 <rindolf>	tcopeland: I am getting the same error with this sudo command including after rebuilding the ruby rpm
Sep 11 20:37:03 <tcopeland>	rindolf: what does this display? sudo /usr/bin/ruby -ropenssl -e "puts OpenSSL::VERSION"
Sep 11 20:37:44 <tcopeland>	I get 2.0.2, but I am on ruby 2.4.0p0
Sep 11 20:37:48 <rindolf>	tcopeland: 2.0.3
Sep 11 20:42:42 <tcopeland>	I upgraded to the latest openssl gem just now, it is 2.0.5.  it might be worth upgrading, although nothing in the changelog is really jumping out at me as being a fix for what you’re seeing
Sep 11 20:47:59 <rindolf>	tcopeland: ah
Sep 11 21:10:15 <rindolf>	tcopeland: i fixed it by installing ruby-2.4.1 under a --prefix
Sep 11 21:10:25 <rindolf>	tcopeland: it works fine there
Sep 11 21:11:02 <tcopeland>	cool
David Walser 2017-09-12 22:55:16 CEST

Assignee: bugsquad => pterjan

Comment 1 Shlomi Fish 2019-03-06 00:22:04 CET
Seems fine in mga7 now.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.