FS#53752 - ruby 2.4.1 built without openssl

Attached to Project: Arch Linux
Opened by Sebastian (soapsurfer) - Saturday, 22 April 2017, 11:48 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 22 April 2017, 12:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
When using bundler I noticed that 'bundle install' quits with the following
message when using SSL:

> bundle install
Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are available at http://rvm.io/packages/openssl.

Building ruby from ABS fixes the issue and the package works as expected.

Additional info:
* package version: ruby 2.4.1-1

Example Gemfile:
source ENV['GEM_SOURCE'] || "https://rubygems.org"
gem 'sinatra'

Steps to reproduce:
* Update to ruby 2.4.1-1
* Create Gemfile with above contents
* run 'bundle install'
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 22 April 2017, 12:11 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#53750 
Comment by Benito (benito) - Saturday, 22 April 2017, 12:03 GMT
I see a different error with ruby 2.4.1-1 on x86_64 trying to execute `bundle`:

/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': libcrypto.so.1.1: cannot open shared object file: No such file or directory - /usr/lib/ruby/2.4.0/x86_64-linux/digest/sha1.so (LoadError)

To me this looks like ruby is looking for openssl-1.1. That's only in testing, though, not in core.

Loading...