when working with Ruby in Ubuntu, I need to install libopenssl-ruby package. I would like to know what’s the purpose for this package. Is it a Ruby Gem?
when working with Ruby in Ubuntu, I need to install libopenssl-ruby package. I would
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is not a gem but an extension. Extensions can be packaged as gems, but this one is not.
An extension is a C library (may be mixed with some native ruby code) that allows to use some C API from the ruby language.
On my distribution, the openssl ruby extension is part of the ruby interpreter package:
And therefore the ruby package only requires the openssl library itself.
It looks like in Debian, they splitted this extension as a subpackage, and that is the reason why is required by the interpreter package: it is part of the ruby standard library: http://ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html