On May 22, 2007, at 1:24 PM, Brian Candler wrote:

> On Wed, May 23, 2007 at 12:39:52AM +0900, Fred Phillips wrote:
>> I only have:
>> ftp.rb  http.rb  imap.rb  pop.rb  protocol.rb  smtp.rb  telnet.rb
>>
>> in my net/ directory
>
> So, let me guess - you're using Ubuntu or Debian, right? If so  
> you'll need
>
> # apt-get install libopenssl-ruby1.8
>
> If not, then please describe your system.
>
> (Aside: This really belongs in a FAQ.
>   1. Always state exactly what system you're running under.
>   2. If running Debian/Ubuntu, Ruby is broken into shrapnel packages)

And if you *are* using Debian Etch (4.0), you can use this script:

http://pastie.caboo.se/63595

That I put together from:

#======================================================================= 
========
# Based on the Rails stack script from RimuHosting
#----------------------------------------------------------------------- 
--------
# Written by Peter over at RimuHosting.com (we provide Linux VPS  
hosting services)
# Last major update: 2006-06-18
# for a bit of a blurb about this script see
#  http://bliki.rimuhosting.com/space/knowledgebase/linux/ 
miscapplications/ruby+on+rails
#
# the latest version of this script is typically found at http:// 
downloads.rimuhosting.com/miscproj/rails.sh
#======================================================================= 
========
# and the blog post by Mike Mondragon:
# "compiling ruby 1.8.5 w/ openssl on Debian (Etch/testing) and  
FreeBSD in $HOME"
#----------------------------------------------------------------------- 
--------
#http://blog.mondragon.cc/articles/2007/02/03/compiling-ruby-1-8-5-w- 
openssl-on-debian-etch-testing-and-freebsd-in-home
#======================================================================= 
========

If you don't have root access on your system, then take a look at the  
script and make the appropriate modifications.  Mike Mondragon's  
article specifically addresses building in a local directory where  
you don't have the permission to put things in the "global" place in  
the filesystem.

-Rob

Rob Biedenharn		http://agileconsultingllc.com
Rob / AgileConsultingLLC.com