how to get ruby 1.9 working

I tried renaming my ruby directory where 1.9.1 is but I cannot seem to
do a "gem install rails"

When I do i get a windows prompt saying a dll is missing. Is there
another way to get 1.9.1 working?

I tried renaming my ruby directory where 1.9.1 is but I cannot seem to

do a “gem install rails”

You’ll need to do the following to install Rails under Ruby 1.9.1:

gem1.9 update --system

gem1.9 install rails

Good luck,

-Conrad

OK, I get a windows popup still that says:
"The ordinal 3873 could not be located in the dynamic link library
LIBEAY32.dll"