# 1.8.7 doesn't work on Ubuntu

**URL:** <https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371>\
**Category:** Ruby\
**Created:** [May 7, 2009, 6:50am UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371 "2009-05-07T06:50:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![superwick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@superwick](https://www.ruby-forum.com/u/superwick)\
**Post date:** [May 7, 2009, 6:50am UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371/1 "2009-05-07T06:50:06Z")

</div>

Does anyone know how to get around this:

[http://redmine.ruby-lang.org/issues/show/863](http://redmine.ruby-lang.org/issues/show/863)

Thanks,  
– Chad

---

<div class="post-metadata">

**Author:** ![superwick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@superwick](https://www.ruby-forum.com/u/superwick)\
**Post date:** [May 7, 2009, 8:37am UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371/2 "2009-05-07T08:37:09Z")

</div>

Chad W. wrote:

> Does anyone know how to get around this:

Make sure to install every package under the sun before installing ruby  
from source, perhaps?  
-=r

---

<div class="post-metadata">

**Author:** ![superwick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@superwick](https://www.ruby-forum.com/u/superwick)\
**Post date:** [May 7, 2009, 9:13am UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371/3 "2009-05-07T09:13:51Z")

</div>

Hi,

In message “Re: 1.8.7 doesn’t work on Ubuntu”  
on Thu, 7 May 2009 16:00:04 +0900, Chad W.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|Also, I tried this after uninstalling the ruby that came with Ubuntu.  
|Didn’t help. I also reinstalled the Ubuntu built-in ruby ssl package.  
| Didn’t help.

Could you show us exact step to reproduce the problem, with all input  
and errors? In addition, do you set any environment variables  
e.g. RUBYOPT or RUBYPATH?

```
          matz.

```

---

<div class="post-metadata">

**Author:** ![superwick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@superwick](https://www.ruby-forum.com/u/superwick)\
**Post date:** [May 7, 2009, 9:00am UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371/4 "2009-05-07T09:00:55Z")

</div>

On Wed, May 6, 2009 at 11:37 PM, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Make sure to install every package under the sun before installing ruby  
> from source, perhaps?

I’ve already installed everything that looks likely, the next step  
would be to try to install every package with ‘ssl’ in the name.

BTW, looks like other people have had this issue with no resolution  
either:

[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/305883](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/305883)  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/304053](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/304053)

Also, I tried this after uninstalling the ruby that came with Ubuntu.  
Didn’t help. I also reinstalled the Ubuntu built-in ruby ssl package.  
Didn’t help.

---

<div class="post-metadata">

**Author:** ![superwick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@superwick](https://www.ruby-forum.com/u/superwick)\
**Post date:** [May 9, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371/5 "2009-05-09T23:44:09Z")

</div>

On Thu, May 7, 2009 at 12:13 AM, Yukihiro M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

Yes! The patch you put on the ticket does seem to fix it! Thanks,  
Matz…

---

<div class="post-metadata">

**Author:** ![superwick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@superwick](https://www.ruby-forum.com/u/superwick)\
**Post date:** [May 7, 2009, 10:27am UTC](https://www.ruby-forum.com/t/1-8-7-doesnt-work-on-ubuntu/167371/6 "2009-05-07T10:27:06Z")

</div>

On Thu, 2009-05-07 at 13:49 +0900, Chad W. wrote:

> Does anyone know how to get around this:
> 
> [http://redmine.ruby-lang.org/issues/show/863](http://redmine.ruby-lang.org/issues/show/863)
> 
> Thanks,  
> – Chad

Did you install libssl-dev?

Most of the time that errors like that occur on Ubuntu they are due to  
the dev packages not being installed…

Matt
