I followed this tutorial:
http://stackoverflow.com/questions/2025449/how-to-install-ruby-on-rails-alongside-wampserver
After adding D:\wamp\ruby\bin
(my wamp folder is in D:) to my Path and write gem install rails
in the command line I get 2 error which says that the following files couldn't be found:
SSLEAY32.dll
zlib.dll
Here is the screenshot: