Can't get mongrel to work with rails 2.0.2

Hi I have just upgraded to rails 2.0.2 and now i can not get mongrel
to start. I am running ubuntu linux server edition

I understand that the first warning (** Ruby version is not up-to-
date; loading cgi_multipart_eof_fix) is not one to worry about.

Here is the error message that i get

root@ds1913:/home/i/t/itsagoalstock/public_html# mongrel_rails start

** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
require_frameworks': no such file to load -- openssl (RuntimeError) from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/ initializer.rb:88:inprocess’
from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/
initializer.rb:49:in run' from /home/i/t/itsagoalstock/public_html/config/environment.rb: 13 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:inrequire’
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/…/lib/
mongrel/rails.rb:147:in rails' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/ mongrel_rails:113:incloaker_’
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/…/lib/
mongrel/configurator.rb:149:in listener' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/ mongrel_rails:99:incloaker_’
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/…/lib/
mongrel/configurator.rb:50:in initialize' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/ mongrel_rails:84:inrun’
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/…/lib/
mongrel/command.rb:212:in `run’
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/
mongrel_rails:281
from /usr/bin/mongrel_rails:19

I’m guessing that i have something installed in the wrong place. Any
suggestions would bee greatly appreciated.

SOLUTION

apt-get install libopenssl-ruby

and now it all works