how to install rails?

newbie in ROR.

Win XP
jruby-1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) <Java
HotSpot(TM) Client VM 1.6.0_17) [x86-java]

jruby -S gem install rails

then i got

JRuby limited openssl loaded.gem install jruby-openssl for full support.
ERROR: While executing gemm .. (Gem::RemoteFetcher::FetchError)
       timed out(

jus follow this link .....

for bignner dats a gud link to folow.. i jus read your header only "
how to install rails"