How to run the ruby on rails applicatio with https instead of http

Hi,

I have created a application with ruby 1.8.7 and rails 2.3.2.
The application is running in the URL http://localhost/dashboard/
I want to run the application using https like
https://localhost/dashboard

Could you anybody have idea or guides to get it work?

Thank you.
Periyasamy