Update to Rails 2.1.0 in a Fedora LInux VPS with 256MB from Local Files to avoid [ process Killed ]

Update to Rails 2.1.0 in a Fedora LInux VPS with 256MB

When trying to run: gem update or gem install rails

[root@pinto ruby]# gem update
Updating installed gems
Bulk updating Gem source index for: http://gems.rubyforge.org/
http://gems.rubyforge.org/http://gems.rubyforge.org/Updating
actionmailer
Killed