ls.
Ruby 1.8.6 and earlier are not supported, neither is version 1.9.1.
Source: Compile it yourself
Windows installer: Ruby, popular extensions, editor
OS X 10.4: Ships with broken Ruby,
follow this guide
OS X 10.5: Included with developer tools(then do "gem update rails")