From: James Calfee on

Worked for me, libopenssl-ruby was the missing package.

David Knoernschild wrote:
>
> If you'd rather not build form source, just do this (it worked for me on
> Intrepid):
>
> sudo apt-get install libopenssl-ruby
>
>
> and then try again.
>
--
Posted via http://www.ruby-forum.com/.

From: Roberto Felloni on
I to all.

I'm new for the forum,
and not many able with linux e ruby,
but I'm on IT from many years.

I've read your discussion (and many other) ...
I have the same problem ....
"no such file to load -- openssl"
with ruby /script/server

I've installed ruby-1.9.1-p376 (without openssl) on a
vmware ubuntu 8.04 virtual machine.

For what I've understand, our suggests works fine
on ruby 1.8 / 1.9,
but for 1.9.1 I've not found anything.

Installing openssl, libssl-dev or libopenssl-ruby1.9
on my filesystem was created .../ruby/1.9.0,
but my ruby are on /ruby/1.9.1 !!

How I can download ruby1.9.1 with /ext subdir ...
or how I can integrate with openssl my ruby1.9.1.

Sorry for my english ...
and for my stupid question :(

I hope my question are understandable.

fellons
--
Posted via http://www.ruby-forum.com/.

From: Xeno Campanoli on
Roberto Felloni wrote:
> I to all.

This may not address your concerns at all, but something we found out last year
is that Debian / Ubuntu Server adopt GNUTLS for some facilities as opposed to
OpenSSL, which has some implications for some things like behaviors with
adoptions of certificates that are self-signed, or not signed by canonical
sources. OpenLDAP was the one we were seeing this on. It worked with internal
certs on CentOS, but not on Ubuntu Server, which uses GNUTLS instead of OpenSSL
for this.

xc

>
> I'm new for the forum,
> and not many able with linux e ruby,
> but I'm on IT from many years.
>
> I've read your discussion (and many other) ...
> I have the same problem ....
> "no such file to load -- openssl"
> with ruby /script/server
>
> I've installed ruby-1.9.1-p376 (without openssl) on a
> vmware ubuntu 8.04 virtual machine.
>
> For what I've understand, our suggests works fine
> on ruby 1.8 / 1.9,
> but for 1.9.1 I've not found anything.
>
> Installing openssl, libssl-dev or libopenssl-ruby1.9
> on my filesystem was created .../ruby/1.9.0,
> but my ruby are on /ruby/1.9.1 !!
>
> How I can download ruby1.9.1 with /ext subdir ...
> or how I can integrate with openssl my ruby1.9.1.
>
> Sorry for my english ...
> and for my stupid question :(
>
> I hope my question are understandable.
>
> fellons


--
"It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member

From: Jonathan Nielsen on
On Fri, Jan 8, 2010 at 11:50 AM, Roberto Felloni
<roberto.felloni(a)gmail.com> wrote:
> How I can download ruby1.9.1 with /ext subdir ...
> or how I can integrate with openssl my ruby1.9.1.

Recompile and reinstall ruby 1.9.1 with the libssl-dev package
installed, and you might want to synchronize your system time with
'sudo ntpdate ntp.ubuntu.com' before compiling... I've had it refuse
to compile the openssl extension due to a skewed clock before.

Good luck...

-Jonathan Nielsen

From: Lucas Nussbaum on
On 09/01/10 at 03:50 +0900, Roberto Felloni wrote:
> Installing openssl, libssl-dev or libopenssl-ruby1.9
> on my filesystem was created .../ruby/1.9.0,
> but my ruby are on /ruby/1.9.1 !!

Install libopenssl-ruby1.9.1.
--
| Lucas Nussbaum
| lucas(a)lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas(a)nussbaum.fr GPG: 1024D/023B3F4F |